Crashlytics 和 XCode 6.3 - 无法通过 xcrun 找到“代码设计”工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29681597/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Crashlytics and XCode 6.3 - unable to find 'codesign' tool via xcrun
提问by shmim
My app archive is created successfully, but Crashlytics fails to upload it for testing, and provides the following messages:
我的应用存档已成功创建,但 Crashlytics 无法将其上传进行测试,并提供以下消息:
Unable to find 'codesign' tool via xcrun
Make sure that command line developer tools are installed and that `xcode-select`
is pointing to a valid developer directory.
Command line tools are installed. XCode->Preferences->Locations is pointing to XCode 6.3 tools.
命令行工具已安装。XCode->Preferences->Locations 指向 XCode 6.3 工具。
xcode-select -p
displays /Applications/Xcode-6.3.app/Contents/Developer
, which is a valid developer directory.
xcode-select -p
显示/Applications/Xcode-6.3.app/Contents/Developer
,这是一个有效的开发者目录。
Any ideas? Crashlytics guys, are you out there?
有任何想法吗?Crashlytics 小伙伴们,你们在吗?
回答by Sebastian Boldt
Just run sudo xcrun --find codesign
from the termimal and accept the licenses.
只需sudo xcrun --find codesign
从终端运行并接受许可证。