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
Related Posts
- npm ERR! gyp verb `which` failed Error: not found: python
- c++ ‘-DNODE_GYP_MODULE_NAME=libsass’ ‘-DUSING_UV_SHARED=1’ ‘-
- Sublime Text 自动换行
- Failed to change timestamp of the file in IntelliJ IDEA
- macOS中staff和wheel是什么?
- #1698 – Access denied for user ‘root’@’localhost’
- Warning in ./libraries/plugin_interface.lib.php#551
- ERROR 1067 (42000): Invalid default value for ‘created_at’
- Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable