Skip to content

Commit 3b8ae5f

Browse files
committed
cp: /System/Library/PrivateFrameworks/MobileDevice.framework/XPCServices: No such file or directory
Fixes #349 Tested on Xcode 9.4.1 and Xcode 10 beta 4.
1 parent 69b24ca commit 3b8ae5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios-deploy.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
);
331331
runOnlyForDeploymentPostprocessing = 0;
332332
shellPath = /bin/sh;
333-
shellScript = "mkdir -p \"${PROJECT_DIR}/_Frameworks\"\ncp -r /System/Library/PrivateFrameworks/MobileDevice.framework \"${PROJECT_DIR}/_Frameworks\"";
333+
shellScript = "mkdir -p \"${PROJECT_DIR}/_Frameworks\"\nrsync -r /System/Library/PrivateFrameworks/MobileDevice.framework \"${PROJECT_DIR}/_Frameworks\" --exclude=XPCServices --links\n";
334334
};
335335
C0CD3D9B1F59DA8300F954DB /* Run Script */ = {
336336
isa = PBXShellScriptBuildPhase;
@@ -344,7 +344,7 @@
344344
);
345345
runOnlyForDeploymentPostprocessing = 0;
346346
shellPath = /bin/sh;
347-
shellScript = "rm -rf \"${PROJECT_DIR}/_Frameworks\"";
347+
shellScript = "rm -rf \"${PROJECT_DIR}/_Frameworks\"\n";
348348
};
349349
/* End PBXShellScriptBuildPhase section */
350350

0 commit comments

Comments
 (0)