1.Handshake error in client(OS Error: CERTIFICATE_VERIFY_FAILED: ok(handshake.cc:352))
pub get failed(69)-- attempting retry 1 in 1 second...
Handshake error in client(OS Error:
CERTIFICATE_VERIFY_FAILED: ok(handshake.cc:352))
![](https://img.haomeiwen.com/i4035001/45713e285820e350.png)
解决方法:
打开~/.ios/Runner.xcworkspace,选择项目对应的证书
然后pod install
ps:我这边是通过以上方法解决,但是不确定是通过以上哪一步,预计是选择项目证书解决的
2.Cannot find "xcodebuild". Xcode 11.0 or greater is required to develop for iOS.
Could not build the precompiled application for the device.
Error launching application on iPhone7ll.
![](https://img.haomeiwen.com/i4035001/cca34ef4b418f40f.png)
解决方案:
sudo xcode-select--switch/Applications/Xcode.app/Contents/Developer
若安装了多个版本xcode,此处按需要其他版本的Xcode名称来写,例如
sudo xcode-select--switch/Applications/Xcode11.3.app/Contents/Developer
网友评论