ios - xcode报错 Shell Scrift Invocation Error
巴扎黑
巴扎黑 2017-04-17 15:47:55
0
1
427

我使用的是Xcode 6.4但是最近用cocoapods的时候发现shell报错"unable to find utility "otool", not a developer tool or in PATH",Google的结果是 xcode -select xcode正确的目录,尝试无果,会不会是command line tool的问题卸载command line tool重装无果! 然后发现是git 无法正常使用了,于是我下了Xcode 7.0 beta 将Xcode -select到 Xcode 7.0路径下,结果git可以使用了,但是悲剧的是之前在Xcode 6.4下的项目 无法正常编译
报错如下
sh: line 1: 3536 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -find otool 2> /dev/null
xcrun: error: unable to find utility "otool", not a developer tool or in PATH
Command /bin/sh failed with exit code 72

求大神指教,万分感激。

巴扎黑
巴扎黑

全部回覆(1)
巴扎黑

這個問題也困擾了我好久, 最近在這裡找到了答案:
http://stackoverflow.com/questions/11423215/error-cant-run-applications-xcode-app-contents-developer-platforms-macosx-pla

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!