pod lib lint验证报错
pod --version 1.3.1
unknown: Encountered an unknown error (/usr/bin/xcrun simctl list -j devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
) during validation.
podspec文件
pod lib lint验证报错
pod --version 1.3.1
unknown: Encountered an unknown error (/usr/bin/xcrun simctl list -j devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
) during validation.
podspec文件
2 回答2k 阅读✓ 已解决
1 回答2.3k 阅读✓ 已解决
2 回答1.5k 阅读✓ 已解决
1 回答1.5k 阅读
1.1k 阅读
757 阅读
原因是xcode模拟器找不着报错,解决办法:
获取Xcode路径。获取Xcode路径只需到应用程序中找到Xcode,然后将其拖入到终端即可获取到Xcode的路径。
steps 2:在终端中继续输入 sudo xcode-select -switch Xcode路径/Contents/Developer 即可。
Tips
比如我的Xcode路径为:/Applications/Xcode.app。那么我在终端中则会输入为:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
参考资料:http://blog.csdn.net/hierarch...