Skip to content

Commit c39ab5b

Browse files
committed
Remove Bolts.framework from BUILT_PRODUCTS_DIR when building iOS starter projects.
1 parent 98f3124 commit c39ab5b

File tree

2 files changed

+2
-2
lines changed
  • ParseStarterProject/iOS

2 files changed

+2
-2
lines changed

ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
);
220220
runOnlyForDeploymentPostprocessing = 0;
221221
shellPath = /bin/sh;
222-
shellScript = "if [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
222+
shellScript = "# Remove the compiled version of Bolts.framework as we need a static one\nrm -r $BUILT_PRODUCTS_DIR/Bolts.framework\n\nif [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
223223
};
224224
/* End PBXShellScriptBuildPhase section */
225225

ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
);
283283
runOnlyForDeploymentPostprocessing = 0;
284284
shellPath = /bin/sh;
285-
shellScript = "if [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
285+
shellScript = "# Remove the compiled version of Bolts.framework as we need a static one\nrm -r $BUILT_PRODUCTS_DIR/Bolts.framework\n\nif [[ ! -d \"Bolts.framework\" ]]; then\n cp -R ../../../Carthage/Checkouts/Bolts-iOS/build/ios/Bolts.framework .\nfi\n";
286286
};
287287
/* End PBXShellScriptBuildPhase section */
288288

0 commit comments

Comments
 (0)