Reputation: 1093
I use TeamCity CI to build my Apps, when I build them using xcode (any configuration), a clean build takes just less than 1.5 minutes, but when I run the same command in xcodebuild its excruciatingly slow, take more than 10 minutes. Any ideas why this is happening?
I use precompiled prefix header and even tried to filter the console output to just warnings and errors, still its like 10 minutes.. :(
xcodebuild -project %appname%.xcodeproj -configuration AdHoc -sdk iphoneos4.2 clean build -target Aggregation PROVISIONING_PROFILE=%PROVISIONING% | grep -P "(warning|error)"
Upvotes: 4
Views: 1240
Reputation: 1093
One potential solution is to mount a ramdisk and make sure the compilation happens from Ramdisk, I have tried this and does improve performance
http://www.kolios.dk/2011/03/29/using-a-ramdisk-when-compiling-a-project/
Upvotes: 2