Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Xcode keep recompiling my untouched project?

Tags:

xcode

xcode4

I have an Xcode 4 workspace with several projects. Everything builds perfectly and works as expected, only Xcode recompiles files too often. If I hit the Build button, wait for the compilation to succeed and then hit the button again, shouldn’t that be essentialy a no-op, since no files have changed? Because my Xcode recompiles a big part of the project again. Even when I build and then immediately hit the Play button, I have to stare at the building process again. Is that neccessary, is it expected behaviour?

like image 668
zoul Avatar asked Sep 14 '11 07:09

zoul


1 Answers

Shot in the dark, but do you have external xcode projects linked? XCode may be recompiling because it doesn't know the state of those projects.

Either way, you can always Run Without Building ^⌘R (control + command + r)

like image 101
hukir Avatar answered Sep 20 '22 22:09

hukir