Ios-deploy install doesn’t work
Install ios-deploy
sudo npm install -g --unsafe-perm --allow-root ios-deploy
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.
https://github.com/ios-control/ios-deploy/issues/346
Install cocopods
gem update --system sudo gem install cocoapods --pre pod —version
Failed to execute process ‘/usr/local/bin/pod’.
Reason:The file ‘/usr/local/bin/pod’ specified the interpreter ‘/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby’, which is not an executable command.
sudo gem install -n /usr/local/bin cocoapods