xcode ios项目需要很长时间才能编译和运行? [英] xcode ios project taking long time to compile and run?

查看:463
本文介绍了xcode ios项目需要很长时间才能编译和运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序花费很长时间(大约10分钟)来编译并在模拟器上运行.该应用程序最初运行良好,但是在添加了SUP静态库后,它需要很长时间才能构建.

My application is taking very long time around 10 minutes to compile and run on simulator. The application was running fine initially however after adding SUP static library it is taking very long time to build.

xcode版本:4.6

xcode version:4.6

我尝试重置模拟器并重新启动机器

I have tried resetting the simulator and restarting the machine

请帮助.

推荐答案

当我回答

As I answered to a similar question, I wrote an extensive blog post about how I improved iOS development cycle at Spotify:

减少50% iOS Edit-Build-Test周期中的等待时间

它归结为:

1)停止生成dSYM束.

1) Stop generating dSYM bundles.

2)如果使用Clang,请避免使用-O4进行编译.

2) Avoid compiling with -O4 if using Clang.

这篇关于xcode ios项目需要很长时间才能编译和运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆