Why does Xcode keep recompiling my untouched project?

左心房为你撑大大i 提交于 2019-12-03 02:54:13

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)

Are you executing custom scripts that change files before compilation? This will result that xcode will recompile all touched files even though maybe nothing changed. You can turn this off by enabling a checkmark in the run script build phase. This will execute the script only on installation of the app.

The image below shows the actual checkmark.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!