OGeek|极客世界-中国程序员成长平台

标题: ios - Xcode 7 需要很长时间才能生成构建。它几乎卡在管理器窗口中 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 14:41
标题: ios - Xcode 7 需要很长时间才能生成构建。它几乎卡在管理器窗口中

我们已将 Xcode 6.x 升级到 7.x,并且对于系统重新启动后的每次首次构建,都需要一个多小时才能吐出 ipa 构建。下次以后就好了。



Best Answer-推荐答案


卸载 Xcode 7 并安装 Xcode 7.2.x。现在它工作正常......所以看起来7中有错误。

It's not just about uninstall and fresh installation. Please follow the below steps to stop hanging your Organizer window while taking build.

  1. 删除所有派生数据(~/Library/Developer/Xcode/DerivedData)
  2. 删除所有存档(~/Library/Developer/Xcode/Archives)
  3. 删除所有产品(~/Library/Developer/Xcode/Products)

然后进行构建。

Note: All 3 steps are must to make the build faster

关于ios - Xcode 7 需要很长时间才能生成构建。它几乎卡在管理器窗口中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35522611/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4