Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terribly slow compiles using Xcode 3.2.5 and 3.2.6

OS X 10.6.7, Xcode 3.2.6 (although 3.2.5 shows the same behavior), Mac Pro - 2 2.4 GHz Quad w/ 8GB of RAM.

We have several of these machines, all but one are running great. A normal clean/build takes about 5-7 minutes. On the "naughty" machine it takes about 30 minutes.

Before starting the build the machine has over 5 GB of RAM free, CPU utilization usage is practically zero. We can't see anything that would be eating up resources.

This is just a pretty simple iOS project (using gcc 4.2) - nothing out of the ordinary. Once we kick off the build the XIBs are compiled quickly. It isn't until we get into the 15th-16th implementation file (.m) that the build process slows to a crawl. At that point we still have tons of RAM available and there is very little CPU usage.

Any recommendations as to how we might track down the issue with this machine?

Thanks!

like image 461
Matty P Avatar asked Nov 15 '22 01:11

Matty P


1 Answers

Are you building with the release or the debug configuration? Stripping binaries (release configuration) can be pretty time consuming during build times.

like image 187
larley Avatar answered Dec 26 '22 12:12

larley