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

我使用的是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

求大神指教,万分感激。

巴扎黑
巴扎黑

reply all(1)
巴扎黑

This question has troubled me for a long time, and I recently found the answer here:
http://stackoverflow.com/questions/11423215/error-cant-run-applications-xcode-app-contents-developer-platforms-macosx-pla

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!