Build slow on XCode4 because of “check dependencies”

后端 未结 2 1888
盖世英雄少女心
盖世英雄少女心 2021-02-06 04:48

I have a fairly simple project with only two XIBs, 5 custom classes and 5 frameworks (CFNetwork, QuartzCore, UIKit, Foundation, CoreGraphics). I was using XCode 3.x before and r

相关标签:
2条回答
  • 2021-02-06 05:19

    For anyone else that stumbles upon this question because they have really slow build times. I managed to avoid the 2 minute long "Check Dependencies" stage by unchecking the following in this image http://i.stack.imgur.com/taXVc.png

    • analyze, test & archive checkboxes
    • parallize build
    • find implicit dependencies

    I think it was just compiling really slowly because it was trying to build every single product at once.

    0 讨论(0)
  • 2021-02-06 05:22

    What you can do is turn off implicit dependencies. Edit the build scheme that is slow and find the build option called Find Implicit Dependencies. You will see the schemes at the top-left. Just select Edit Scheme and once that sheet comes down select Build on the left as you see in the attached screenshot. Then click OK and try your build again. (You may want to disable it for other schemes as well.)

    Find Implicit Dependencies

    0 讨论(0)
提交回复
热议问题