Created
July 17, 2018 17:40
-
-
Save staskuban/f1735456ff0eb34dcbf3c00b519840a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE: This is a workaround, not a solution | |
I wouldn't call this a solution, but at least this will get you moving forward again. Follow #349 for a solution. Seems kind of sketchy that we have to disable system protections on macOS to delete a core system file. | |
How to apply the workaround: | |
For those looking for a straight forward solution workaround, I was able to resolve this on my machine following the instructions in this thread. | |
My environment: | |
OS: macOS High Sierra 10.13.5 | |
Xcode Version: Version 9.4.1 (9F2000) | |
Disable "SIP" | |
Click the symbol in the Menu bar. | |
Click Restart… | |
Hold down Command-R to reboot into Recovery Mode. | |
Click Utilities. | |
Select Terminal. | |
Enter csrutil disable. | |
Enter reboot. | |
Attempt install with "SIP" disabled | |
After reboot, move XPCServices file to temporary location for safety purposes sudo mv /System/Library/PrivateFrameworks/MobileDevice.framework/XPCServices ~ | |
Attempt install again with this command sudo npm install -g ios-deploy --unsafe-perm --allow-root | |
Install should successfully complete. | |
Re-enable "SIP" | |
Click the symbol in the Menu bar. | |
Click Restart… | |
Hold down Command-R to reboot into Recovery Mode. | |
Click Utilities. | |
Select Terminal. | |
Enter csrutil enable. (important that you set it to enable here...) | |
Enter reboot. | |
========== | |
Update 2: Changed to a mv command instead of an rm command. Safety first! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment