Skip to content

Commit 7afffa9

Browse files
committed
Update demo app to swift 3
1 parent 51f5f9a commit 7afffa9

File tree

6 files changed

+96
-85
lines changed

6 files changed

+96
-85
lines changed

Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Package.swift
22
/*
33
The MIT License (MIT)
4-
Copyright (c) 2015-2016 Perceval Faramaz
54
Copyright (c) 2016 Eric Marchand (phimage)
65
Permission is hereby granted, free of charge, to any person obtaining a copy
76
of this software and associated documentation files (the "Software"), to deal

SampleApp/CallbackURLKitDemo.xcodeproj/project.pbxproj

Lines changed: 64 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
2D82E9831C46ED3DB8D898C8 /* Pods_CallbackURLKitDemoOSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BEFE74F8F5010842B34724E9 /* Pods_CallbackURLKitDemoOSX.framework */; };
11-
574DDA2DC910102F338C8BDB /* Pods_CallbackURLKitDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 899A43CB2504DC3678E479C9 /* Pods_CallbackURLKitDemo.framework */; };
10+
3BD6D4ACE200318BD1745A44 /* Pods_CallbackURLKitDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2E18204D8820834E873445D /* Pods_CallbackURLKitDemo.framework */; };
11+
9743555C5D482B6A0F8FD0A5 /* Pods_CallbackURLKitDemoOSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8243089A72A5739F80DA42 /* Pods_CallbackURLKitDemoOSX.framework */; };
1212
C46E5DA31C399EBF0061E818 /* CallbackURLKitDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C46E5DA21C399EBF0061E818 /* CallbackURLKitDemo.swift */; };
1313
C46E5DA41C399EBF0061E818 /* CallbackURLKitDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C46E5DA21C399EBF0061E818 /* CallbackURLKitDemo.swift */; };
1414
C47767001D68B01E00A66C25 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4E32D6B1C3999AE005CD033 /* AppDelegate.swift */; };
@@ -21,11 +21,9 @@
2121
/* End PBXBuildFile section */
2222

2323
/* Begin PBXFileReference section */
24-
450054A15936FF75554DB6C2 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemoOSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX.release.xcconfig"; sourceTree = "<group>"; };
25-
4FD79BDBF1B3A6A89811342D /* Pods-CallbackURLKitDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo.debug.xcconfig"; sourceTree = "<group>"; };
26-
899A43CB2504DC3678E479C9 /* Pods_CallbackURLKitDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CallbackURLKitDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
27-
94ACDE1068C6A2C95BE32518 /* Pods-CallbackURLKitDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo.release.xcconfig"; sourceTree = "<group>"; };
28-
BEFE74F8F5010842B34724E9 /* Pods_CallbackURLKitDemoOSX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CallbackURLKitDemoOSX.framework; sourceTree = BUILT_PRODUCTS_DIR; };
24+
24F5A1217D8FB28152129434 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemoOSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX.release.xcconfig"; sourceTree = "<group>"; };
25+
3309A9E012D066FC97D26572 /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemoOSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX.debug.xcconfig"; sourceTree = "<group>"; };
26+
821A8A73996E2FB89A163654 /* Pods-CallbackURLKitDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo.debug.xcconfig"; sourceTree = "<group>"; };
2927
C46E5DA21C399EBF0061E818 /* CallbackURLKitDemo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CallbackURLKitDemo.swift; sourceTree = "<group>"; };
3028
C4A4AA841C399A1500932E7D /* CallbackURLKitDemoOSX.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CallbackURLKitDemoOSX.app; sourceTree = BUILT_PRODUCTS_DIR; };
3129
C4A4AA8D1C399A1500932E7D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
@@ -36,47 +34,49 @@
3634
C4E32D701C3999AE005CD033 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
3735
C4E32D751C3999AE005CD033 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
3836
C4E32D771C3999AE005CD033 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
39-
D8952A33A1F6748F37BA89FA /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemoOSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX.debug.xcconfig"; sourceTree = "<group>"; };
37+
CC272C496F99DE3E0336A039 /* Pods-CallbackURLKitDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CallbackURLKitDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo.release.xcconfig"; sourceTree = "<group>"; };
38+
F2E18204D8820834E873445D /* Pods_CallbackURLKitDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CallbackURLKitDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
39+
FA8243089A72A5739F80DA42 /* Pods_CallbackURLKitDemoOSX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CallbackURLKitDemoOSX.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4040
/* End PBXFileReference section */
4141

4242
/* Begin PBXFrameworksBuildPhase section */
4343
C4A4AA811C399A1500932E7D /* Frameworks */ = {
4444
isa = PBXFrameworksBuildPhase;
4545
buildActionMask = 2147483647;
4646
files = (
47-
2D82E9831C46ED3DB8D898C8 /* Pods_CallbackURLKitDemoOSX.framework in Frameworks */,
47+
9743555C5D482B6A0F8FD0A5 /* Pods_CallbackURLKitDemoOSX.framework in Frameworks */,
4848
);
4949
runOnlyForDeploymentPostprocessing = 0;
5050
};
5151
C4E32D651C3999AE005CD033 /* Frameworks */ = {
5252
isa = PBXFrameworksBuildPhase;
5353
buildActionMask = 2147483647;
5454
files = (
55-
574DDA2DC910102F338C8BDB /* Pods_CallbackURLKitDemo.framework in Frameworks */,
55+
3BD6D4ACE200318BD1745A44 /* Pods_CallbackURLKitDemo.framework in Frameworks */,
5656
);
5757
runOnlyForDeploymentPostprocessing = 0;
5858
};
5959
/* End PBXFrameworksBuildPhase section */
6060

6161
/* Begin PBXGroup section */
62-
5740F7502E1B932816A74D0B /* Frameworks */ = {
62+
4BF9FB2AE9F07F187B29E8F6 /* Pods */ = {
6363
isa = PBXGroup;
6464
children = (
65-
899A43CB2504DC3678E479C9 /* Pods_CallbackURLKitDemo.framework */,
66-
BEFE74F8F5010842B34724E9 /* Pods_CallbackURLKitDemoOSX.framework */,
65+
821A8A73996E2FB89A163654 /* Pods-CallbackURLKitDemo.debug.xcconfig */,
66+
CC272C496F99DE3E0336A039 /* Pods-CallbackURLKitDemo.release.xcconfig */,
67+
3309A9E012D066FC97D26572 /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */,
68+
24F5A1217D8FB28152129434 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */,
6769
);
68-
name = Frameworks;
70+
name = Pods;
6971
sourceTree = "<group>";
7072
};
71-
A9EDD4B2C17715ADB0942673 /* Pods */ = {
73+
B9C7C477D59738281F1E5245 /* Frameworks */ = {
7274
isa = PBXGroup;
7375
children = (
74-
4FD79BDBF1B3A6A89811342D /* Pods-CallbackURLKitDemo.debug.xcconfig */,
75-
94ACDE1068C6A2C95BE32518 /* Pods-CallbackURLKitDemo.release.xcconfig */,
76-
D8952A33A1F6748F37BA89FA /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */,
77-
450054A15936FF75554DB6C2 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */,
76+
F2E18204D8820834E873445D /* Pods_CallbackURLKitDemo.framework */,
77+
FA8243089A72A5739F80DA42 /* Pods_CallbackURLKitDemoOSX.framework */,
7878
);
79-
name = Pods;
79+
name = Frameworks;
8080
sourceTree = "<group>";
8181
};
8282
C4A4AA851C399A1500932E7D /* CallbackURLKitDemoOSX */ = {
@@ -94,8 +94,8 @@
9494
C4E32D6A1C3999AE005CD033 /* CallbackURLKitDemo */,
9595
C4A4AA851C399A1500932E7D /* CallbackURLKitDemoOSX */,
9696
C4E32D691C3999AE005CD033 /* Products */,
97-
A9EDD4B2C17715ADB0942673 /* Pods */,
98-
5740F7502E1B932816A74D0B /* Frameworks */,
97+
4BF9FB2AE9F07F187B29E8F6 /* Pods */,
98+
B9C7C477D59738281F1E5245 /* Frameworks */,
9999
);
100100
sourceTree = "<group>";
101101
};
@@ -128,12 +128,12 @@
128128
isa = PBXNativeTarget;
129129
buildConfigurationList = C4A4AA921C399A1500932E7D /* Build configuration list for PBXNativeTarget "CallbackURLKitDemoOSX" */;
130130
buildPhases = (
131-
95D6B7A8B39EC2015D4C897A /* Check Pods Manifest.lock */,
131+
415F2217D034A4A9F563E750 /* [CP] Check Pods Manifest.lock */,
132132
C4A4AA801C399A1500932E7D /* Sources */,
133133
C4A4AA811C399A1500932E7D /* Frameworks */,
134134
C4A4AA821C399A1500932E7D /* Resources */,
135-
9F163E3759F060E71EC03BD8 /* Embed Pods Frameworks */,
136-
BA1511FFBD15ED01A612DCDE /* Copy Pods Resources */,
135+
29D6102BC003EED9855ADBD4 /* [CP] Embed Pods Frameworks */,
136+
89741B56380A005A9DBA7783 /* [CP] Copy Pods Resources */,
137137
);
138138
buildRules = (
139139
);
@@ -148,12 +148,12 @@
148148
isa = PBXNativeTarget;
149149
buildConfigurationList = C4E32D7A1C3999AE005CD033 /* Build configuration list for PBXNativeTarget "CallbackURLKitDemo" */;
150150
buildPhases = (
151-
FEAEAE56E111B856800F9E53 /* Check Pods Manifest.lock */,
151+
DAC21FB62631B4150EA07D90 /* [CP] Check Pods Manifest.lock */,
152152
C4E32D641C3999AE005CD033 /* Sources */,
153153
C4E32D651C3999AE005CD033 /* Frameworks */,
154154
C4E32D661C3999AE005CD033 /* Resources */,
155-
E2CBF947A3D38BDCE22D5B58 /* Embed Pods Frameworks */,
156-
C670AC1F25FCB9F26C78EF54 /* Copy Pods Resources */,
155+
CCC8BBF076C969AA95C8AFF2 /* [CP] Embed Pods Frameworks */,
156+
3F536F998DC22ECAA96D50B8 /* [CP] Copy Pods Resources */,
157157
);
158158
buildRules = (
159159
);
@@ -171,14 +171,15 @@
171171
isa = PBXProject;
172172
attributes = {
173173
LastSwiftUpdateCheck = 0720;
174-
LastUpgradeCheck = 0720;
174+
LastUpgradeCheck = 0800;
175175
ORGANIZATIONNAME = phimage;
176176
TargetAttributes = {
177177
C4A4AA831C399A1500932E7D = {
178178
CreatedOnToolsVersion = 7.2;
179179
};
180180
C4E32D671C3999AE005CD033 = {
181181
CreatedOnToolsVersion = 7.2;
182+
LastSwiftMigration = 0800;
182183
};
183184
};
184185
};
@@ -222,94 +223,94 @@
222223
/* End PBXResourcesBuildPhase section */
223224

224225
/* Begin PBXShellScriptBuildPhase section */
225-
95D6B7A8B39EC2015D4C897A /* Check Pods Manifest.lock */ = {
226+
29D6102BC003EED9855ADBD4 /* [CP] Embed Pods Frameworks */ = {
226227
isa = PBXShellScriptBuildPhase;
227228
buildActionMask = 2147483647;
228229
files = (
229230
);
230231
inputPaths = (
231232
);
232-
name = "Check Pods Manifest.lock";
233+
name = "[CP] Embed Pods Frameworks";
233234
outputPaths = (
234235
);
235236
runOnlyForDeploymentPostprocessing = 0;
236237
shellPath = /bin/sh;
237-
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";
238+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX-frameworks.sh\"\n";
238239
showEnvVarsInLog = 0;
239240
};
240-
9F163E3759F060E71EC03BD8 /* Embed Pods Frameworks */ = {
241+
3F536F998DC22ECAA96D50B8 /* [CP] Copy Pods Resources */ = {
241242
isa = PBXShellScriptBuildPhase;
242243
buildActionMask = 2147483647;
243244
files = (
244245
);
245246
inputPaths = (
246247
);
247-
name = "Embed Pods Frameworks";
248+
name = "[CP] Copy Pods Resources";
248249
outputPaths = (
249250
);
250251
runOnlyForDeploymentPostprocessing = 0;
251252
shellPath = /bin/sh;
252-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX-frameworks.sh\"\n";
253+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo-resources.sh\"\n";
253254
showEnvVarsInLog = 0;
254255
};
255-
BA1511FFBD15ED01A612DCDE /* Copy Pods Resources */ = {
256+
415F2217D034A4A9F563E750 /* [CP] Check Pods Manifest.lock */ = {
256257
isa = PBXShellScriptBuildPhase;
257258
buildActionMask = 2147483647;
258259
files = (
259260
);
260261
inputPaths = (
261262
);
262-
name = "Copy Pods Resources";
263+
name = "[CP] Check Pods Manifest.lock";
263264
outputPaths = (
264265
);
265266
runOnlyForDeploymentPostprocessing = 0;
266267
shellPath = /bin/sh;
267-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX-resources.sh\"\n";
268+
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";
268269
showEnvVarsInLog = 0;
269270
};
270-
C670AC1F25FCB9F26C78EF54 /* Copy Pods Resources */ = {
271+
89741B56380A005A9DBA7783 /* [CP] Copy Pods Resources */ = {
271272
isa = PBXShellScriptBuildPhase;
272273
buildActionMask = 2147483647;
273274
files = (
274275
);
275276
inputPaths = (
276277
);
277-
name = "Copy Pods Resources";
278+
name = "[CP] Copy Pods Resources";
278279
outputPaths = (
279280
);
280281
runOnlyForDeploymentPostprocessing = 0;
281282
shellPath = /bin/sh;
282-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo-resources.sh\"\n";
283+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemoOSX/Pods-CallbackURLKitDemoOSX-resources.sh\"\n";
283284
showEnvVarsInLog = 0;
284285
};
285-
E2CBF947A3D38BDCE22D5B58 /* Embed Pods Frameworks */ = {
286+
CCC8BBF076C969AA95C8AFF2 /* [CP] Embed Pods Frameworks */ = {
286287
isa = PBXShellScriptBuildPhase;
287288
buildActionMask = 2147483647;
288289
files = (
289290
);
290291
inputPaths = (
291292
);
292-
name = "Embed Pods Frameworks";
293+
name = "[CP] Embed Pods Frameworks";
293294
outputPaths = (
294295
);
295296
runOnlyForDeploymentPostprocessing = 0;
296297
shellPath = /bin/sh;
297298
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CallbackURLKitDemo/Pods-CallbackURLKitDemo-frameworks.sh\"\n";
298299
showEnvVarsInLog = 0;
299300
};
300-
FEAEAE56E111B856800F9E53 /* Check Pods Manifest.lock */ = {
301+
DAC21FB62631B4150EA07D90 /* [CP] Check Pods Manifest.lock */ = {
301302
isa = PBXShellScriptBuildPhase;
302303
buildActionMask = 2147483647;
303304
files = (
304305
);
305306
inputPaths = (
306307
);
307-
name = "Check Pods Manifest.lock";
308+
name = "[CP] Check Pods Manifest.lock";
308309
outputPaths = (
309310
);
310311
runOnlyForDeploymentPostprocessing = 0;
311312
shellPath = /bin/sh;
312-
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";
313+
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";
313314
showEnvVarsInLog = 0;
314315
};
315316
/* End PBXShellScriptBuildPhase section */
@@ -367,8 +368,9 @@
367368
/* Begin XCBuildConfiguration section */
368369
C4A4AA901C399A1500932E7D /* Debug */ = {
369370
isa = XCBuildConfiguration;
370-
baseConfigurationReference = D8952A33A1F6748F37BA89FA /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */;
371+
baseConfigurationReference = 3309A9E012D066FC97D26572 /* Pods-CallbackURLKitDemoOSX.debug.xcconfig */;
371372
buildSettings = {
373+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
372374
CODE_SIGN_IDENTITY = "-";
373375
COMBINE_HIDPI_IMAGES = YES;
374376
INFOPLIST_FILE = CallbackURLKitDemoOSX/Info.plist;
@@ -377,13 +379,15 @@
377379
PRODUCT_BUNDLE_IDENTIFIER = fr.phimage.CallbackURLKitDemoOSX;
378380
PRODUCT_NAME = "$(TARGET_NAME)";
379381
SDKROOT = macosx;
382+
SWIFT_VERSION = 3.0;
380383
};
381384
name = Debug;
382385
};
383386
C4A4AA911C399A1500932E7D /* Release */ = {
384387
isa = XCBuildConfiguration;
385-
baseConfigurationReference = 450054A15936FF75554DB6C2 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */;
388+
baseConfigurationReference = 24F5A1217D8FB28152129434 /* Pods-CallbackURLKitDemoOSX.release.xcconfig */;
386389
buildSettings = {
390+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
387391
CODE_SIGN_IDENTITY = "-";
388392
COMBINE_HIDPI_IMAGES = YES;
389393
INFOPLIST_FILE = CallbackURLKitDemoOSX/Info.plist;
@@ -392,6 +396,7 @@
392396
PRODUCT_BUNDLE_IDENTIFIER = fr.phimage.CallbackURLKitDemoOSX;
393397
PRODUCT_NAME = "$(TARGET_NAME)";
394398
SDKROOT = macosx;
399+
SWIFT_VERSION = 3.0;
395400
};
396401
name = Release;
397402
};
@@ -408,8 +413,10 @@
408413
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
409414
CLANG_WARN_EMPTY_BODY = YES;
410415
CLANG_WARN_ENUM_CONVERSION = YES;
416+
CLANG_WARN_INFINITE_RECURSION = YES;
411417
CLANG_WARN_INT_CONVERSION = YES;
412418
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
419+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
413420
CLANG_WARN_UNREACHABLE_CODE = YES;
414421
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
415422
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -453,8 +460,10 @@
453460
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
454461
CLANG_WARN_EMPTY_BODY = YES;
455462
CLANG_WARN_ENUM_CONVERSION = YES;
463+
CLANG_WARN_INFINITE_RECURSION = YES;
456464
CLANG_WARN_INT_CONVERSION = YES;
457465
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
466+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
458467
CLANG_WARN_UNREACHABLE_CODE = YES;
459468
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
460469
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -473,30 +482,35 @@
473482
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
474483
MTL_ENABLE_DEBUG_INFO = NO;
475484
SDKROOT = iphoneos;
485+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
476486
TARGETED_DEVICE_FAMILY = "1,2";
477487
VALIDATE_PRODUCT = YES;
478488
};
479489
name = Release;
480490
};
481491
C4E32D7B1C3999AE005CD033 /* Debug */ = {
482492
isa = XCBuildConfiguration;
483-
baseConfigurationReference = 4FD79BDBF1B3A6A89811342D /* Pods-CallbackURLKitDemo.debug.xcconfig */;
493+
baseConfigurationReference = 821A8A73996E2FB89A163654 /* Pods-CallbackURLKitDemo.debug.xcconfig */;
484494
buildSettings = {
495+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
485496
INFOPLIST_FILE = CallbackURLKitDemo/Info.plist;
486497
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
487498
PRODUCT_BUNDLE_IDENTIFIER = fr.phimage.CallbackURLKitDemo;
488499
PRODUCT_NAME = "$(TARGET_NAME)";
500+
SWIFT_VERSION = 3.0;
489501
};
490502
name = Debug;
491503
};
492504
C4E32D7C1C3999AE005CD033 /* Release */ = {
493505
isa = XCBuildConfiguration;
494-
baseConfigurationReference = 94ACDE1068C6A2C95BE32518 /* Pods-CallbackURLKitDemo.release.xcconfig */;
506+
baseConfigurationReference = CC272C496F99DE3E0336A039 /* Pods-CallbackURLKitDemo.release.xcconfig */;
495507
buildSettings = {
508+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
496509
INFOPLIST_FILE = CallbackURLKitDemo/Info.plist;
497510
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
498511
PRODUCT_BUNDLE_IDENTIFIER = fr.phimage.CallbackURLKitDemo;
499512
PRODUCT_NAME = "$(TARGET_NAME)";
513+
SWIFT_VERSION = 3.0;
500514
};
501515
name = Release;
502516
};

0 commit comments

Comments
 (0)