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?
Asked
Active
Viewed 159 times
0
-
1Touching 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 Answers
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
-
-
-
thanks for the -1! @import also works with compiling for Mavericks. – Michael Dautermann Feb 14 '14 at 04:52
-
1
-
@import is quite nice, but from the linked answer I understand it only brings benefits when importing Apple's own frameworks? – insys Feb 14 '14 at 14:07
-
no worries @rmaddy, I kinda deserved that downvote… it was my fault for typing too fast to realize that the o.p. was talking about the MacOS SDK and not iOS. – Michael Dautermann Feb 14 '14 at 15:39
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