Skip to content

Commit 7c44950

Browse files
committed
Updates the demo
1 parent 53d4c16 commit 7c44950

5 files changed

Lines changed: 19 additions & 4 deletions

File tree

BarcodeScanner.xcodeproj/project.pbxproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
isa = PBXProject;
131131
attributes = {
132132
LastSwiftUpdateCheck = 0720;
133-
LastUpgradeCheck = 0720;
133+
LastUpgradeCheck = 0800;
134134
ORGANIZATIONNAME = "Hyper Interaktiv AS";
135135
TargetAttributes = {
136136
D5B2E89E1C3A780C00C0327D = {
@@ -198,8 +198,10 @@
198198
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
199199
CLANG_WARN_EMPTY_BODY = YES;
200200
CLANG_WARN_ENUM_CONVERSION = YES;
201+
CLANG_WARN_INFINITE_RECURSION = YES;
201202
CLANG_WARN_INT_CONVERSION = YES;
202203
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
204+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
203205
CLANG_WARN_UNREACHABLE_CODE = YES;
204206
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
205207
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -246,8 +248,10 @@
246248
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
247249
CLANG_WARN_EMPTY_BODY = YES;
248250
CLANG_WARN_ENUM_CONVERSION = YES;
251+
CLANG_WARN_INFINITE_RECURSION = YES;
249252
CLANG_WARN_INT_CONVERSION = YES;
250253
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
254+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
251255
CLANG_WARN_UNREACHABLE_CODE = YES;
252256
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
253257
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -267,6 +271,7 @@
267271
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
268272
MTL_ENABLE_DEBUG_INFO = NO;
269273
SDKROOT = iphoneos;
274+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
270275
TARGETED_DEVICE_FAMILY = "1,2";
271276
VALIDATE_PRODUCT = YES;
272277
VERSIONING_SYSTEM = "apple-generic";
@@ -278,6 +283,7 @@
278283
isa = XCBuildConfiguration;
279284
buildSettings = {
280285
CLANG_ENABLE_MODULES = YES;
286+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
281287
DEFINES_MODULE = YES;
282288
DYLIB_COMPATIBILITY_VERSION = 1;
283289
DYLIB_CURRENT_VERSION = 1;
@@ -294,13 +300,15 @@
294300
PRODUCT_NAME = BarcodeScanner;
295301
SKIP_INSTALL = YES;
296302
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
303+
SWIFT_VERSION = 3.0;
297304
};
298305
name = Debug;
299306
};
300307
D5B2E8B51C3A780C00C0327D /* Release */ = {
301308
isa = XCBuildConfiguration;
302309
buildSettings = {
303310
CLANG_ENABLE_MODULES = YES;
311+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
304312
DEFINES_MODULE = YES;
305313
DYLIB_COMPATIBILITY_VERSION = 1;
306314
DYLIB_CURRENT_VERSION = 1;
@@ -316,6 +324,7 @@
316324
PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.BarcodeScanner-iOS";
317325
PRODUCT_NAME = BarcodeScanner;
318326
SKIP_INSTALL = YES;
327+
SWIFT_VERSION = 3.0;
319328
};
320329
name = Release;
321330
};

BarcodeScanner.xcodeproj/xcshareddata/xcschemes/BarcodeScanner-iOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0720"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Example/BarcodeScannerExample/BarcodeScannerExample.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
);
217217
runOnlyForDeploymentPostprocessing = 0;
218218
shellPath = /bin/sh;
219-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
219+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
220220
showEnvVarsInLog = 0;
221221
};
222222
C6637BE832A43C8F49FCF84D /* 📦 Embed Pods Frameworks */ = {
@@ -318,6 +318,7 @@
318318
ONLY_ACTIVE_ARCH = YES;
319319
SDKROOT = iphoneos;
320320
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
321+
SWIFT_VERSION = 3.0;
321322
};
322323
name = Debug;
323324
};
@@ -357,6 +358,7 @@
357358
MTL_ENABLE_DEBUG_INFO = NO;
358359
SDKROOT = iphoneos;
359360
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
361+
SWIFT_VERSION = 3.0;
360362
VALIDATE_PRODUCT = YES;
361363
};
362364
name = Release;

Example/BarcodeScannerExample/BarcodeScannerExample/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25+
<key>NSPhotoLibraryUsageDescription</key>
26+
<string>This app uses the library for testing purposes</string>
27+
<key>NSCameraUsageDescription</key>
28+
<string>This app uses the camera for testing purposes</string>
2529
<key>UILaunchStoryboardName</key>
2630
<string>LaunchScreen</string>
2731
<key>UIRequiredDeviceCapabilities</key>

Example/BarcodeScannerExample/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
1313

1414
PODFILE CHECKSUM: 5ef23317899e015b0a239f469648c11cbee75aaa
1515

16-
COCOAPODS: 1.0.1
16+
COCOAPODS: 1.1.0.rc.2

0 commit comments

Comments
 (0)