Xcode 7.1 hangs while archiving swift ios app

六眼飞鱼酱① 提交于 2019-12-03 10:47:32

问题


Xcode 7.1 while archiving app, hangs at 'Copying Swift standard libraries'.

Any idea why?


回答1:


For anyone else facing the same issue. After trying and failing everything else, it was fixed by restarting the mac :D




回答2:


Log out, log back in. Faster than restarting your mac!




回答3:


If you are not planning to release on AppStore and only creating an ad hoc build for testing, then do the following:

In Xcode 7, Goto Product -> Scheme -> Edit Scheme From the left menu select "Archive" and Select "Distribution" from the "Build Configuration" drop down.




回答4:


For me it was the Wi-Fi connection. It seems that Xcode 8 tries to go out to the Internet for signing frameworks / apps and if that connection is really slow it takes a lot of time (for me up to 15 minutes). As soon as I changed the Wi-Fi network it built and ran in under 5 seconds.



来源:https://stackoverflow.com/questions/33378666/xcode-7-1-hangs-while-archiving-swift-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!