Fabric 发布 Xcode 6.3 codesign xcode-select
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29559250/
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
Fabric release Xcode 6.3 codesign xcode-select
提问by Sagar R. Kothari
I'm trying to upload a release to Fabric & I'm getting errors as follows. I'm using the Xcode 6.3 (recently updated).
我正在尝试将版本上传到 Fabric,并且出现如下错误。我正在使用 Xcode 6.3(最近更新)。
- Xcode: 6.3
- Fabric: 1.1.3
- OSX: 10.10.3
- 代码:6.3
- 面料:1.1.3
- OSX:10.10.3
What should I do to resolve above error & continue uploading the release via fabric desktop tool?
Is there any other way to upload binary to fabric?
我应该怎么做才能解决上述错误并继续通过 Fabric 桌面工具上传版本?
有没有其他方法可以将二进制文件上传到结构?
回答by Mike Bonnell
Mike from Fabric here.
来自 Fabric 的 Mike。
1) To clear that error from Fabric.app: Quit Fabric.app, then run this command to clear the local cache:
1) 要从 Fabric.app 中清除该错误:退出 Fabric.app,然后运行此命令以清除本地缓存:
rm -rf ~/Library/Caches/com.crashlytics.mac
You may also need to clear:
您可能还需要清除:
rm -rf ~/Library/Caches/com.crashlytics
rm -rf ~/Library/Caches/com.crashlytics.data
rm -rf ~/Library/Caches/com.crashlytics.run
Then restart Fabric.app and you'll be all set!
然后重新启动 Fabric.app 就可以了!
2) To distribute outside of Fabric.app, use either method mentioned here.
2) 要在 Fabric.app 之外分发,请使用此处提到的任一方法。
回答by B-Rad
If you have multiple versions of Xcode installed on your system you may need to ensure the command line tools are set for the version of Xcode you're attempting to build from.
如果您的系统上安装了多个版本的 Xcode,您可能需要确保为您尝试构建的 Xcode 版本设置了命令行工具。
Navigate to "Locations" in Xcode preferences (select Xcode from the menu bar, then "Preferences..." then "Locations"). In the drop down next to "Command Line Tools:" select the version of Xcode you're using and then attempt a build.
导航到 Xcode 首选项中的“位置”(从菜单栏中选择 Xcode,然后选择“首选项...”然后是“位置”)。在“命令行工具:”旁边的下拉列表中,选择您正在使用的 Xcode 版本,然后尝试构建。
回答by Dary
The solution for using Xcode beta version
使用Xcode beta版的解决方法
I assume this is due to archive in Xcode beta and the path location does not match. Of course, I experienced this and it worked. Just do this step:
我认为这是由于 Xcode beta 中的存档和路径位置不匹配。当然,我经历了这一点并且它奏效了。只需执行以下步骤:
sudo xcode-select --switch /Applications/Xcode-beta.app/
And do upload to Fabric again.
并再次上传到 Fabric。
回答by jungledev
I had this problem because I have 4 versions of Xcode on my mac, and none of them are named simply 'Xcode'. So, I changed the desired version name from Xcode8.1
back to Xcode
.
我遇到了这个问题,因为我的 Mac 上有 4 个版本的 Xcode,而且它们都没有简单地命名为“Xcode”。所以,我从改变所需的版本名称Xcode8.1
回Xcode
。
This part might not apply to most people: If you're using the xcode-select
tool (you should if you have multiple versions of xcode on your computer) then you need to make sure xcode-select
is pointing to the correct version with the correct name.
这部分可能不适用于大多数人:如果您正在使用该xcode-select
工具(如果您的计算机上有多个版本的 xcode,则应该使用该工具)那么您需要确保xcode-select
使用正确的名称指向正确的版本。