Skip to content

Commit c56ac8d

Browse files
authored
Merge pull request ios-control#423 from Ukalnins/fix_test_compilation
ios-control#422 copy fix from ios-control#387 also to test scheme
2 parents cc36a57 + 0eba1b2 commit c56ac8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios-deploy.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
);
291291
runOnlyForDeploymentPostprocessing = 0;
292292
shellPath = /bin/sh;
293-
shellScript = "mkdir -p \"${PROJECT_DIR}/_Frameworks\"\nrsync -r /System/Library/PrivateFrameworks/MobileDevice.framework \"${PROJECT_DIR}/_Frameworks\" --exclude=XPCServices --links\n";
293+
shellScript = "mkdir -p \"${PROJECT_DIR}/_Frameworks\"\n\n# copy over MobileDevice.framework from its location\nMD_FRAMEWORK_LOCATION=/System/Library/PrivateFrameworks/MobileDevice.framework\nif [ -d \"$MD_FRAMEWORK_LOCATION\" ]; then\n rsync -r $MD_FRAMEWORK_LOCATION \"${PROJECT_DIR}/_Frameworks\" --exclude=XPCServices --links\nfi\n\n# check if this new location exists, if it does, copy it instead\nNEW_MD_FRAMEWORK_LOCATION=/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework\nif [ -d \"$NEW_MD_FRAMEWORK_LOCATION\" ]; then\nrsync -r $NEW_MD_FRAMEWORK_LOCATION \"${PROJECT_DIR}/_Frameworks\" --exclude=XPCServices --links\nfi\n\n";
294294
};
295295
3BF32EF41F5A217100E1699B /* ShellScript */ = {
296296
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)