先尝试
1 |
sudo gem uninstall cocoapods && sudo gem install cocoapods |
如果还不行,再试
1 2 3 4 5 6 7 8 |
1 run: pod setup 2 run: brew update brew install --HEAD usbmuxd brew link usbmuxd brew install --HEAD libimobiledevice brew install ideviceinstaller |
出现软链错误尝试
1 |
brew link --overwrite cocoapods |
记得重启IDE