Xcode 8:准备存档需要永远
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39934254/
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
Xcode 8: Preparing Archive takes forever
提问by Luke Pistrol
Today I tried to archive and upload a App to iTunes Connect Beta Testing.
今天,我尝试将应用存档并上传到 iTunes Connect Beta 测试。
Xcode stays at the point "Copying Swift standard libraries" for about 10 minutes.. Two days ago it just were some seconds.. The CPU runs at 100% an the Fan is really really loud. it never did that before..
Xcode 在“复制 Swift 标准库”这一点上停留了大约 10 分钟......两天前它只是几秒钟...... CPU 以 100% 运行,风扇真的很响。以前从来没有这样做过..
Then I try to upload it to the AppStore using the Organizer. But it stays ridiculously long at "Preparing Archive - Codesigning libswiftAVFoundation.dylib..."
然后我尝试使用 Organizer 将其上传到 AppStore。但它在“准备档案 - 编码 libswiftAVFoundation.dylib ......”中停留的时间长得可笑
I left it over night and it still was at the same spot.. I really don't know what to do. I need to upload this build as soon as possible.... Please help me somebody..
我把它放了一夜,它仍然在同一个地方..我真的不知道该怎么办。我需要尽快上传这个版本......请帮助我......
Edit: my setup: MacBook Pro Retina 13 2014, macOS 10.12.1 Beta
编辑:我的设置:MacBook Pro Retina 13 2014,macOS 10.12.1 Beta
回答by invoodoo
I found the solution:
我找到了解决方案:
- Open Keychain
- Search for AppleID certificates (I found 1300+ of them)
- Delete all of them
- 打开钥匙扣
- 搜索 AppleID 证书(我找到了 1300 多个)
- 全部删除
Enjoy your fast-blast building with Xcode 8+! It seems like this is an issue with automatic signing feature from Xcode8.
享受使用 Xcode 8+ 的快速构建!这似乎是 Xcode8 的自动签名功能的问题。
回答by Vinod Mahale
Right click your Archive and select "Show" in Finder Then again right click on the resulted file in Finder and select "Show Package Contents" Then from the result open the product folder --> Application folder --> and select the ".app" file Then simply add this .app file under apps of iTunes software on Mac After completing the adding process right click on the app icon in iTunes and show in Finder, which will give you the iPA file.
右键单击您的存档并在 Finder 中选择“显示”然后再次右键单击 Finder 中的结果文件并选择“显示包内容”然后从结果中打开产品文件夹 --> 应用程序文件夹 --> 并选择“.app” " 文件然后只需在 Mac 上的 iTunes 软件的应用程序下添加此 .app 文件完成添加过程后,右键单击 iTunes 中的应用程序图标并在 Finder 中显示,这将为您提供 iPA 文件。