Build slower on Xcode4 due to "dependency checking"

I have a fairly simple project with two XIBs, 5 user classes and 5 frameworks (CFNetwork, QuartzCore, UIKit, Foundation, CoreGraphics). I used Xcode 3.x before and recently upgraded to Xcode 4. After that, the build time was sometimes up to a minute, usually about 30 seconds. I have a 2.4 GHz MBP with 4 GB of memory.

enter image description here

Looking at the build log in the log navigator, I see that "dependency checking ..." appears for a long time, everything else happens almost instantly. However, clicking on this journal entry does not reveal more details. Where can I find more information on what causes this?

Update:

After rebooting, the assembly will return to normal speed. Perhaps something happens in the background, which causes a slowdown.

+8
xcode xcode4
source share
2 answers

What you can do is disable implicit dependencies. Edit the assembly diagram, which runs slowly, and find the assembly parameter "Find implicit dependencies". You will see the diagrams in the upper left corner. Just select "Edit Scheme", and as soon as this sheet comes down, select "Assembly on the left", as you see in the screenshot. Then click OK and try again. (You can also disable it for other circuits.)

Find Implicit Dependencies

+7
source share

For someone who stumbled upon this question because they have really slow build times. I managed to avoid the 2-minute stage "Dependency Checks" by removing the following on it: http://i.stack.imgur.com/taXVc.png

  • analyze, verify and archive checkboxes
  • parallize build
  • find implicit dependencies

I think that it just compiled very slowly, because he tried to create every single product at once.

+3
source share

All Articles