Scenario: We have an XCode project for an iOS game which has about 7000+ files.
Only 1000+ files are code. Rest of them are images, sounds, level data, XIBs, plists, config files etc.
Its a universal app so, we have separate set of resources for old iPhone, retina iPhone, iPad etc. We also have PNG and PVRTC for few things like BG images etc to make the best use of different hardware.
Problem:
Right now the project takes about
42 seconds to Clean (Cmd - Shift - K)
8.3 minutes for a full rebuild (Cmd - B) (While rebuilding, half of the progress bar fills in 1 min)
aaaand... 5 mins 36 for just running (Cmd - R) ??
After that, I pressed "Stop" and clicked on "Run" again without doing absolutely anything else. and it took 2 mins 40 secs to just "Run again"
I also saw resources getting copied again, some files getting built again as shown by XCode above the progress bar.
Any solutions to reduce time in any of these phases is highly appreciated. Please ?
P.S. The project was started during the XCode 3 days, and we have been automatically updating the xcodeproj file each time a new XCode comes out.