0

In my project there are around 8000 source files and around 1000 xib's in a cocoa desktop application. It takes around 4 minutes to build and launch the application every time if I make any change in a single source file. Is there any way to speed up the build process in xcode?

cHao
  • 84,970
  • 20
  • 145
  • 172
sach
  • 1,069
  • 4
  • 15
  • 29
  • 1
    Touching one single .m file shouldn't magically rebuild all "`.o`" files. Is there something about your project that cleans the project before it builds? Or are you using a way underpowered Mac (e.g. a MacMini)? – Michael Dautermann Feb 14 '14 at 04:10

2 Answers2

1

If you're compiling for Mavericks, you can take advantage of new technologies like "@import" instead of "#import", and if you have multiple machines around the office you can use Xcode's Distributed Build feature, which is freaking cool!

Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
0

You might be able to create libraries out of some sections of your code. Then you create a separate Xcode project for each of these libraries.

orkoden
  • 18,946
  • 4
  • 59
  • 50