|
3 | 3 | archiveVersion = 1;
|
4 | 4 | classes = {
|
5 | 5 | };
|
6 |
| - objectVersion = 46; |
| 6 | + objectVersion = 52; |
7 | 7 | objects = {
|
8 | 8 |
|
9 | 9 | /* Begin PBXBuildFile section */
|
10 | 10 | 120103741DFBE26E00E8128E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 120103731DFBE26E00E8128E /* AppDelegate.swift */; };
|
11 | 11 | 120103761DFBE26E00E8128E /* RepositoriesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 120103751DFBE26E00E8128E /* RepositoriesViewController.swift */; };
|
12 | 12 | 1201037B1DFBE26E00E8128E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1201037A1DFBE26E00E8128E /* Assets.xcassets */; };
|
13 | 13 | 1201037E1DFBE26E00E8128E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1201037C1DFBE26E00E8128E /* LaunchScreen.storyboard */; };
|
14 |
| - 120103871DFBF0AD00E8128E /* Apollo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 120103861DFBF0AD00E8128E /* Apollo.framework */; }; |
15 | 14 | 1201038B1DFBF28200E8128E /* API.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1201038A1DFBF28200E8128E /* API.swift */; };
|
16 | 15 | 12A3242C1DFE56EC00D905E7 /* RepositoryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 12A3242B1DFE56EC00D905E7 /* RepositoryCell.swift */; };
|
17 | 16 | 12A3242E1DFF499800D905E7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 12A3242D1DFF499800D905E7 /* Main.storyboard */; };
|
18 | 17 | 12A324301E0215E400D905E7 /* RepositoryDetails.graphql in Resources */ = {isa = PBXBuildFile; fileRef = 12A3242F1E0215E400D905E7 /* RepositoryDetails.graphql */; };
|
19 | 18 | 12F01AA41DFD05CD00EB0547 /* RepositoriesViewController.graphql in Resources */ = {isa = PBXBuildFile; fileRef = 12F01AA31DFD05CD00EB0547 /* RepositoriesViewController.graphql */; };
|
| 19 | + DDF8A0B224D643AB0065A795 /* Apollo in Frameworks */ = {isa = PBXBuildFile; productRef = DDF8A0B124D643AB0065A795 /* Apollo */; }; |
20 | 20 | /* End PBXBuildFile section */
|
21 | 21 |
|
22 | 22 | /* Begin PBXFileReference section */
|
|
26 | 26 | 1201037A1DFBE26E00E8128E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
27 | 27 | 1201037D1DFBE26E00E8128E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
28 | 28 | 1201037F1DFBE26E00E8128E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
29 |
| - 120103861DFBF0AD00E8128E /* Apollo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Apollo.framework; path = Carthage/Build/iOS/Apollo.framework; sourceTree = "<group>"; }; |
30 | 29 | 1201038A1DFBF28200E8128E /* API.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = API.swift; sourceTree = "<group>"; };
|
31 | 30 | 12A3242B1DFE56EC00D905E7 /* RepositoryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RepositoryCell.swift; sourceTree = "<group>"; };
|
32 | 31 | 12A3242D1DFF499800D905E7 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
|
|
39 | 38 | isa = PBXFrameworksBuildPhase;
|
40 | 39 | buildActionMask = 2147483647;
|
41 | 40 | files = (
|
42 |
| - 120103871DFBF0AD00E8128E /* Apollo.framework in Frameworks */, |
| 41 | + DDF8A0B224D643AB0065A795 /* Apollo in Frameworks */, |
43 | 42 | );
|
44 | 43 | runOnlyForDeploymentPostprocessing = 0;
|
45 | 44 | };
|
|
83 | 82 | 120103851DFBF0AD00E8128E /* Frameworks */ = {
|
84 | 83 | isa = PBXGroup;
|
85 | 84 | children = (
|
86 |
| - 120103861DFBF0AD00E8128E /* Apollo.framework */, |
87 | 85 | );
|
88 | 86 | name = Frameworks;
|
89 | 87 | sourceTree = "<group>";
|
|
106 | 104 | dependencies = (
|
107 | 105 | );
|
108 | 106 | name = "GitHub-GraphQL-API-Example-iOS";
|
| 107 | + packageProductDependencies = ( |
| 108 | + DDF8A0B124D643AB0065A795 /* Apollo */, |
| 109 | + ); |
109 | 110 | productName = "GitHub-GraphQL-API-Example-iOS";
|
110 | 111 | productReference = 120103701DFBE26E00E8128E /* GitHub-GraphQL-API-Example-iOS.app */;
|
111 | 112 | productType = "com.apple.product-type.application";
|
|
132 | 133 | developmentRegion = English;
|
133 | 134 | hasScannedForEncodings = 0;
|
134 | 135 | knownRegions = (
|
| 136 | + English, |
135 | 137 | en,
|
136 | 138 | Base,
|
137 | 139 | );
|
138 | 140 | mainGroup = 120103671DFBE26E00E8128E;
|
| 141 | + packageReferences = ( |
| 142 | + DDF8A0B024D643AB0065A795 /* XCRemoteSwiftPackageReference "apollo-ios" */, |
| 143 | + ); |
139 | 144 | productRefGroup = 120103711DFBE26E00E8128E /* Products */;
|
140 | 145 | projectDirPath = "";
|
141 | 146 | projectRoot = "";
|
|
167 | 172 | files = (
|
168 | 173 | );
|
169 | 174 | inputPaths = (
|
170 |
| - "$(SRCROOT)/Carthage/Build/iOS/Apollo.framework", |
171 | 175 | );
|
172 | 176 | outputPaths = (
|
173 | 177 | );
|
174 | 178 | runOnlyForDeploymentPostprocessing = 0;
|
175 | 179 | shellPath = /bin/sh;
|
176 |
| - shellScript = "/usr/local/bin/carthage copy-frameworks"; |
| 180 | + shellScript = " |
| 181 | +"; |
177 | 182 | };
|
178 | 183 | 120103891DFBF22000E8128E /* Generate Apollo GraphQL API */ = {
|
179 | 184 | isa = PBXShellScriptBuildPhase;
|
|
187 | 192 | );
|
188 | 193 | runOnlyForDeploymentPostprocessing = 0;
|
189 | 194 | shellPath = /bin/sh;
|
190 |
| - shellScript = "APOLLO_FRAMEWORK_PATH=$(eval find $FRAMEWORK_SEARCH_PATHS -name \"Apollo.framework\" -maxdepth 1)\n\nif [ -z \"$APOLLO_FRAMEWORK_PATH\" ]; then\necho \"error: Couldn't find Apollo.framework in FRAMEWORK_SEARCH_PATHS; make sure to add the framework to your project.\"\nexit 1\nfi\n\ncd ${SRCROOT}/${TARGET_NAME}\n$APOLLO_FRAMEWORK_PATH/check-and-run-apollo-codegen.sh generate $(find . -name '*.graphql') --schema schema.json --output API.swift"; |
| 195 | + shellScript = "# Go to the build root and search up the chain to find the Derived Data Path where the source packages are checked out.\nDERIVED_DATA_CANDIDATE=\"${BUILD_ROOT}\"\n\nwhile ! [ -d \"${DERIVED_DATA_CANDIDATE}/SourcePackages\" ]; do\n if [ \"${DERIVED_DATA_CANDIDATE}\" = / ]; then\n echo >&2 \"error: Unable to locate SourcePackages directory from BUILD_ROOT: '${BUILD_ROOT}'\"\n exit 1\n fi\n\n DERIVED_DATA_CANDIDATE=\"$(dirname \"${DERIVED_DATA_CANDIDATE}\")\"\ndone\n\n# Grab a reference to the directory where scripts are checked out\nSCRIPT_PATH=\"${DERIVED_DATA_CANDIDATE}/SourcePackages/checkouts/apollo-ios/scripts\"\n\nif [ -z \"${SCRIPT_PATH}\" ]; then\n echo >&2 \"error: Couldn't find the CLI script in your checked out SPM packages; make sure to add the framework to your project.\"\n exit 1\nfi\n\ncd \"${SRCROOT}/${TARGET_NAME}\"\n\"${SCRIPT_PATH}\"/run-bundled-codegen.sh codegen:generate --target=swift --includes=./**/*.graphql --localSchemaFile=\"schema.json\" API.swift\n"; |
191 | 196 | };
|
192 | 197 | /* End PBXShellScriptBuildPhase section */
|
193 | 198 |
|
|
305 | 310 | IPHONEOS_DEPLOYMENT_TARGET = 10.1;
|
306 | 311 | MTL_ENABLE_DEBUG_INFO = NO;
|
307 | 312 | SDKROOT = iphoneos;
|
308 |
| - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; |
| 313 | + SWIFT_COMPILATION_MODE = wholemodule; |
| 314 | + SWIFT_OPTIMIZATION_LEVEL = "-O"; |
309 | 315 | SWIFT_VERSION = 4.0;
|
310 | 316 | TARGETED_DEVICE_FAMILY = "1,2";
|
311 | 317 | VALIDATE_PRODUCT = YES;
|
|
317 | 323 | buildSettings = {
|
318 | 324 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
319 | 325 | DEVELOPMENT_TEAM = 9527BZ5WE5;
|
320 |
| - FRAMEWORK_SEARCH_PATHS = ( |
| 326 | + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; |
| 327 | + INFOPLIST_FILE = "GitHub-GraphQL-API-Example-iOS/Info.plist"; |
| 328 | + LD_RUNPATH_SEARCH_PATHS = ( |
321 | 329 | "$(inherited)",
|
322 |
| - "$(PROJECT_DIR)/Carthage/Build/iOS", |
| 330 | + "@executable_path/Frameworks", |
323 | 331 | );
|
324 |
| - INFOPLIST_FILE = "GitHub-GraphQL-API-Example-iOS/Info.plist"; |
325 |
| - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
326 | 332 | PRODUCT_BUNDLE_IDENTIFIER = "com.shingt.GitHub-GraphQL-API-Example-iOS";
|
327 | 333 | PRODUCT_NAME = "$(TARGET_NAME)";
|
328 |
| - SWIFT_VERSION = 3.0; |
| 334 | + SWIFT_VERSION = 5.0; |
329 | 335 | };
|
330 | 336 | name = Debug;
|
331 | 337 | };
|
|
334 | 340 | buildSettings = {
|
335 | 341 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
336 | 342 | DEVELOPMENT_TEAM = 9527BZ5WE5;
|
337 |
| - FRAMEWORK_SEARCH_PATHS = ( |
| 343 | + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; |
| 344 | + INFOPLIST_FILE = "GitHub-GraphQL-API-Example-iOS/Info.plist"; |
| 345 | + LD_RUNPATH_SEARCH_PATHS = ( |
338 | 346 | "$(inherited)",
|
339 |
| - "$(PROJECT_DIR)/Carthage/Build/iOS", |
| 347 | + "@executable_path/Frameworks", |
340 | 348 | );
|
341 |
| - INFOPLIST_FILE = "GitHub-GraphQL-API-Example-iOS/Info.plist"; |
342 |
| - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
343 | 349 | PRODUCT_BUNDLE_IDENTIFIER = "com.shingt.GitHub-GraphQL-API-Example-iOS";
|
344 | 350 | PRODUCT_NAME = "$(TARGET_NAME)";
|
345 |
| - SWIFT_VERSION = 3.0; |
| 351 | + SWIFT_VERSION = 5.0; |
346 | 352 | };
|
347 | 353 | name = Release;
|
348 | 354 | };
|
|
368 | 374 | defaultConfigurationName = Release;
|
369 | 375 | };
|
370 | 376 | /* End XCConfigurationList section */
|
| 377 | + |
| 378 | +/* Begin XCRemoteSwiftPackageReference section */ |
| 379 | + DDF8A0B024D643AB0065A795 /* XCRemoteSwiftPackageReference "apollo-ios" */ = { |
| 380 | + isa = XCRemoteSwiftPackageReference; |
| 381 | + repositoryURL = "https://github.com/apollographql/apollo-ios.git"; |
| 382 | + requirement = { |
| 383 | + kind = upToNextMinorVersion; |
| 384 | + minimumVersion = 0.30.0; |
| 385 | + }; |
| 386 | + }; |
| 387 | +/* End XCRemoteSwiftPackageReference section */ |
| 388 | + |
| 389 | +/* Begin XCSwiftPackageProductDependency section */ |
| 390 | + DDF8A0B124D643AB0065A795 /* Apollo */ = { |
| 391 | + isa = XCSwiftPackageProductDependency; |
| 392 | + package = DDF8A0B024D643AB0065A795 /* XCRemoteSwiftPackageReference "apollo-ios" */; |
| 393 | + productName = Apollo; |
| 394 | + }; |
| 395 | +/* End XCSwiftPackageProductDependency section */ |
371 | 396 | };
|
372 | 397 | rootObject = 120103681DFBE26E00E8128E /* Project object */;
|
373 | 398 | }
|
0 commit comments