|
14 | 14 | BF2753556301 = {isa = PBXBuildFile; fileRef = FR2993497801 /* MyFramework.framework */; };
|
15 | 15 | BF3154421201 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FR5980633301 /* Assets.xcassets */; };
|
16 | 16 | BF3515549501 /* MyFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = FR7740960501 /* MyFramework.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
17 |
| - BF3862341101 = {isa = PBXBuildFile; fileRef = FR2993497801 /* MyFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; |
| 17 | + BF3862341101 /* MyFramework.framework in Copy Files */ = {isa = PBXBuildFile; fileRef = FR2993497801 /* MyFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; |
18 | 18 | BF4946816301 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = VG1473702401 /* Main.storyboard */; };
|
19 | 19 | BF5986511201 = {isa = PBXBuildFile; fileRef = FR6523263101 /* TestProject.app */; };
|
20 | 20 | BF9001417701 /* TestProjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR6877173101 /* TestProjectTests.swift */; };
|
|
45 | 45 | dstPath = "";
|
46 | 46 | dstSubfolderSpec = 10;
|
47 | 47 | files = (
|
48 |
| - BF3862341101 /* MyFramework.framework */, |
| 48 | + BF3862341101 /* MyFramework.framework in Copy Files */, |
49 | 49 | );
|
50 | 50 | runOnlyForDeploymentPostprocessing = 0;
|
51 | 51 | };
|
52 | 52 | /* End PBXCopyFilesBuildPhase section */
|
53 | 53 |
|
54 | 54 | /* Begin PBXFileReference section */
|
55 |
| - FR1332263601 /* AppDelegate.swift */ = {isa = PBXFileReference; path = AppDelegate.swift; sourceTree = "<group>"; }; |
56 |
| - FR1345298501 /* Info.plist */ = {isa = PBXFileReference; path = Info.plist; sourceTree = "<group>"; }; |
57 |
| - FR1345298502 /* Info.plist */ = {isa = PBXFileReference; path = Info.plist; sourceTree = "<group>"; }; |
58 |
| - FR1345298503 /* Info.plist */ = {isa = PBXFileReference; path = Info.plist; sourceTree = "<group>"; }; |
59 |
| - FR2653659501 /* TestProjectTests.xctest */ = {isa = PBXFileReference; explicitFileType = xctest; includeInIndex = 0; path = TestProjectTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; |
60 |
| - FR2993497801 /* MyFramework.framework */ = {isa = PBXFileReference; explicitFileType = framework; includeInIndex = 0; path = MyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
61 |
| - FR3676338401 /* Base */ = {isa = PBXFileReference; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; |
62 |
| - FR3676338402 /* Base */ = {isa = PBXFileReference; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; |
63 |
| - FR5980633301 /* Assets.xcassets */ = {isa = PBXFileReference; path = Assets.xcassets; sourceTree = "<group>"; }; |
64 |
| - FR6218091901 /* ViewController.swift */ = {isa = PBXFileReference; path = ViewController.swift; sourceTree = "<group>"; }; |
65 |
| - FR6523263101 /* TestProject.app */ = {isa = PBXFileReference; explicitFileType = app; includeInIndex = 0; path = TestProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
66 |
| - FR6877173101 /* TestProjectTests.swift */ = {isa = PBXFileReference; path = TestProjectTests.swift; sourceTree = "<group>"; }; |
67 |
| - FR7078510801 /* FrameworkFile.swift */ = {isa = PBXFileReference; path = FrameworkFile.swift; sourceTree = "<group>"; }; |
68 |
| - FR7740960501 /* MyFramework.h */ = {isa = PBXFileReference; path = MyFramework.h; sourceTree = "<group>"; }; |
| 55 | + FR1332263601 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; |
| 56 | + FR1345298501 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; |
| 57 | + FR1345298502 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; |
| 58 | + FR1345298503 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; |
| 59 | + FR2653659501 /* TestProjectTests.xctest */ = {isa = PBXFileReference; explicitFileType = xctest; includeInIndex = 0; lastKnownFileType = wrapper.cfbundle; path = TestProjectTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 60 | + FR2993497801 /* MyFramework.framework */ = {isa = PBXFileReference; explicitFileType = framework; includeInIndex = 0; lastKnownFileType = wrapper.framework; path = MyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 61 | + FR3676338401 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; |
| 62 | + FR3676338402 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; |
| 63 | + FR5980633301 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; |
| 64 | + FR6218091901 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; }; |
| 65 | + FR6523263101 /* TestProject.app */ = {isa = PBXFileReference; explicitFileType = app; includeInIndex = 0; lastKnownFileType = wrapper.application; path = TestProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 66 | + FR6877173101 /* TestProjectTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestProjectTests.swift; sourceTree = "<group>"; }; |
| 67 | + FR7078510801 /* FrameworkFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FrameworkFile.swift; sourceTree = "<group>"; }; |
| 68 | + FR7740960501 /* MyFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyFramework.h; sourceTree = "<group>"; }; |
69 | 69 | /* End PBXFileReference section */
|
70 | 70 |
|
71 | 71 | /* Begin PBXGroup section */
|
|
138 | 138 | isa = PBXHeadersBuildPhase;
|
139 | 139 | buildActionMask = 2147483647;
|
140 | 140 | files = (
|
141 |
| - BF3515549501 /* MyFramework.h */, |
| 141 | + BF3515549501 /* MyFramework.h in Headers */, |
142 | 142 | );
|
143 | 143 | runOnlyForDeploymentPostprocessing = 0;
|
144 | 144 | };
|
|
176 | 176 | SBP299349701 /* Sources */,
|
177 | 177 | RBP299349701 /* Resources */,
|
178 | 178 | HBP299349701 /* Headers */,
|
179 |
| - SSBP35382101 /* Run Script */, |
| 179 | + SSBP35382101 /* Swiftlint */, |
180 | 180 | );
|
181 | 181 | buildRules = (
|
182 | 182 | );
|
|
193 | 193 | SBP652326301 /* Sources */,
|
194 | 194 | RBP652326301 /* Resources */,
|
195 | 195 | HBP652326301 /* Headers */,
|
196 |
| - CFBP50493301 /* Copy Files */, |
197 |
| - SSBP24648001 /* Run Script */, |
198 |
| - SSBP19207501 /* Run Script */, |
| 196 | + CFBP50493301 /* CopyFiles */, |
| 197 | + SSBP24648001 /* Strip Unused Architectures from Frameworks */, |
| 198 | + SSBP19207501 /* Swiftlint */, |
199 | 199 | );
|
200 | 200 | buildRules = (
|
201 | 201 | );
|
|
249 | 249 | isa = PBXResourcesBuildPhase;
|
250 | 250 | buildActionMask = 2147483647;
|
251 | 251 | files = (
|
252 |
| - BF4946816301 /* Main.storyboard */, |
253 |
| - BF1911148401 /* LaunchScreen.storyboard */, |
254 |
| - BF3154421201 /* Assets.xcassets */, |
| 252 | + BF3154421201 /* Assets.xcassets in Resources */, |
| 253 | + BF1911148401 /* LaunchScreen.storyboard in Resources */, |
| 254 | + BF4946816301 /* Main.storyboard in Resources */, |
255 | 255 | );
|
256 | 256 | runOnlyForDeploymentPostprocessing = 0;
|
257 | 257 | };
|
258 | 258 | /* End PBXResourcesBuildPhase section */
|
259 | 259 |
|
260 | 260 | /* Begin PBXShellScriptBuildPhase section */
|
261 |
| - SSBP19207501 /* Run Script */ = { |
| 261 | + SSBP19207501 /* Swiftlint */ = { |
262 | 262 | isa = PBXShellScriptBuildPhase;
|
263 | 263 | buildActionMask = 2147483647;
|
264 | 264 | files = (
|
|
269 | 269 | outputPaths = (
|
270 | 270 | );
|
271 | 271 | runOnlyForDeploymentPostprocessing = 0;
|
272 |
| - shellPath = /bin/sh; |
| 272 | + shellPath = bin/sh; |
273 | 273 | shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
|
274 | 274 | };
|
275 |
| - SSBP24648001 /* Run Script */ = { |
| 275 | + SSBP24648001 /* Strip Unused Architectures from Frameworks */ = { |
276 | 276 | isa = PBXShellScriptBuildPhase;
|
277 | 277 | buildActionMask = 2147483647;
|
278 | 278 | files = (
|
|
283 | 283 | outputPaths = (
|
284 | 284 | );
|
285 | 285 | runOnlyForDeploymentPostprocessing = 1;
|
286 |
| - shellPath = /bin/sh; |
| 286 | + shellPath = bin/sh; |
287 | 287 | shellScript = "################################################################################\n#\n# Copyright 2015 Realm Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n################################################################################\n\n# This script strips all non-valid architectures from dynamic libraries in\n# the application's `Frameworks` directory.\n#\n# The following environment variables are required:\n#\n# BUILT_PRODUCTS_DIR\n# FRAMEWORKS_FOLDER_PATH\n# VALID_ARCHS\n# EXPANDED_CODE_SIGN_IDENTITY\n\n\n# Signs a framework with the provided identity\ncode_sign() {\n # Use the current code_sign_identitiy\n echo \"Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}\"\n echo \"/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1\"\n /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"\n}\n\n# Set working directory to product’s embedded frameworks\ncd \"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\n\nif [ \"$ACTION\" = \"install\" ]; then\n echo \"Copy .bcsymbolmap files to .xcarchive\"\n find . -name '*.bcsymbolmap' -type f -exec mv {} \"${CONFIGURATION_BUILD_DIR}\" \;\nelse\n # Delete *.bcsymbolmap files from framework bundle unless archiving\n find . -name '*.bcsymbolmap' -type f -exec rm -rf \"{}\" +\;\nfi\n\necho \"Stripping frameworks\"\n\nfor file in $(find . -type f -perm +111); do\n # Skip non-dynamic libraries\n if ! [[ \"$(file \"$file\")\" == *\"dynamically linked shared library\"* ]]; then\n continue\n fi\n # Get architectures for current file\n archs=\"$(lipo -info \"${file}\" | rev | cut -d ':' -f1 | rev)\"\n stripped=\"\"\n for arch in $archs; do\n if ! [[ \"${VALID_ARCHS}\" == *\"$arch\"* ]]; then\n # Strip non-valid architectures in-place\n lipo -remove \"$arch\" -output \"$file\" \"$file\" || exit 1\n stripped=\"$stripped $arch\"\n fi\n done\n if [[ \"$stripped\" != \"\" ]]; then\n echo \"Stripped $file of architectures:$stripped\"\n if [ \"${CODE_SIGNING_REQUIRED}\" == \"YES\" ]; then\n code_sign \"${file}\"\n fi\n fi\ndone\n";
|
288 | 288 | };
|
289 |
| - SSBP35382101 /* Run Script */ = { |
| 289 | + SSBP35382101 /* Swiftlint */ = { |
290 | 290 | isa = PBXShellScriptBuildPhase;
|
291 | 291 | buildActionMask = 2147483647;
|
292 | 292 | files = (
|
|
297 | 297 | outputPaths = (
|
298 | 298 | );
|
299 | 299 | runOnlyForDeploymentPostprocessing = 0;
|
300 |
| - shellPath = /bin/sh; |
| 300 | + shellPath = bin/sh; |
301 | 301 | shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
|
302 | 302 | };
|
303 | 303 | /* End PBXShellScriptBuildPhase section */
|
|
307 | 307 | isa = PBXSourcesBuildPhase;
|
308 | 308 | buildActionMask = 2147483647;
|
309 | 309 | files = (
|
310 |
| - BF9001417701 /* TestProjectTests.swift */, |
| 310 | + BF9001417701 /* TestProjectTests.swift in Sources */, |
311 | 311 | );
|
312 | 312 | runOnlyForDeploymentPostprocessing = 0;
|
313 | 313 | };
|
314 | 314 | SBP299349701 /* Sources */ = {
|
315 | 315 | isa = PBXSourcesBuildPhase;
|
316 | 316 | buildActionMask = 2147483647;
|
317 | 317 | files = (
|
318 |
| - BF9155249601 /* FrameworkFile.swift */, |
| 318 | + BF9155249601 /* FrameworkFile.swift in Sources */, |
319 | 319 | );
|
320 | 320 | runOnlyForDeploymentPostprocessing = 0;
|
321 | 321 | };
|
322 | 322 | SBP652326301 /* Sources */ = {
|
323 | 323 | isa = PBXSourcesBuildPhase;
|
324 | 324 | buildActionMask = 2147483647;
|
325 | 325 | files = (
|
326 |
| - BF1073850101 /* AppDelegate.swift */, |
327 |
| - BF1744565901 /* ViewController.swift */, |
| 326 | + BF1073850101 /* AppDelegate.swift in Sources */, |
| 327 | + BF1744565901 /* ViewController.swift in Sources */, |
328 | 328 | );
|
329 | 329 | runOnlyForDeploymentPostprocessing = 0;
|
330 | 330 | };
|
|
569 | 569 | XCCL26536501 /* Build configuration list for PBXNativeTarget "TestProjectTests" */ = {
|
570 | 570 | isa = XCConfigurationList;
|
571 | 571 | buildConfigurations = (
|
572 |
| - XCBC60448901 /* Release */, |
573 | 572 | XCBC89077001 /* Debug */,
|
| 573 | + XCBC60448901 /* Release */, |
574 | 574 | );
|
575 | 575 | defaultConfigurationIsVisible = 0;
|
576 | 576 | defaultConfigurationName = "";
|
|
596 | 596 | XCCL81399401 /* Build configuration list for PBXProject */ = {
|
597 | 597 | isa = XCConfigurationList;
|
598 | 598 | buildConfigurations = (
|
599 |
| - XCBC88111401 /* Release */, |
600 | 599 | XCBC47994501 /* Debug */,
|
| 600 | + XCBC88111401 /* Release */, |
601 | 601 | );
|
602 | 602 | defaultConfigurationIsVisible = 0;
|
603 | 603 | defaultConfigurationName = Debug;
|
|
0 commit comments