简体   繁体   中英

Xcode rebuilds project when nothing has changed

In the last few months we've noticed that Xcode seems to be rebuilding our project every time we 'Run', even if no files have changed. How do I determine what is causing this to happen so that I can prevent it?

We did start using Swift in the last few months as well...not sure if it's related.

Also, one reason that the problem is so noticeable is because of some extra build phases that we have which execute shell scripts that take time.

I am not sure if it's intention by Apple, or an Xcode bug. However, you can select ⌘⇧R (command+shift+R) to rerun without rebuilding.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM