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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 07:00:51  来源:igfitidea点击:

Crashlytics and XCode 6.3 - unable to find 'codesign' tool via xcrun

xcodexcode6crashlytics

提问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 -pdisplays /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 codesignfrom the termimal and accept the licenses.

只需sudo xcrun --find codesign从终端运行并接受许可证。