ios - Xcode 7 需要很长时间才能生成构建。它几乎卡在管理器窗口中

标签 ios objective-c iphone xcode xcode7

我们已经将 Xcode 6.x 升级到 7.x,并且对于系统重启后的每个第一次构建,它需要一个多小时才能吐出 ipa 构建。从下次开始就可以了。

最佳答案

卸载 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/

相关文章:

ios - 如何不通过 appstore 将 ios 应用程序分发给我的欧洲企业客户

ios - For循环以随机顺序追加数组

ios - 如何为具有 0 到 2 个图像的 UITableViewCells 设置可调整高度的约束?

ios - 命名空间 SIGNAL,代码 0x5,带有 EXC_BREAKPOINT (SIGTRAP)

objective-c - 为什么在子类中将基类的读写属性重新声明为只读时编译器会发出警告?

iphone - 何时取消订阅 UIView 中的 NSNotification

iphone - iOS 模拟器和设备上的 UIImageView PNG 像素化

iphone - 有没有办法让应用程序代理运行条件,然后选择 Storyboard入口点?

ios - 如何处理类之间完成 block 的结果

iphone - HttpRequest 方法泄漏 - Objective-c