Xcode 8 - symbolicatecrash 失败

Xcode 8 - symbolicatecrash failed

在 Xcode 下 8 symbolicatecrash 分析崩溃报告失败:

sh: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun: No such file or directory
## Warning: can't find tool named 'otool' in iOS SDK, falling back to searching the Mac OS X SDK
sh: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun: No such file or directory
Error: can't find tool named 'otool' in the macosx SDK or any fallback SDKs at /usr/local/bin/symbolicatecrash line 115.

如何解决?

您是否正在寻找 symbolicatecrash 在 XCode 8 的新位置?

现在位于/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources

find /Applications/Xcode.app/ -name symbolicatecrash

那么,你会得到

/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash