你如何在 xcode 中禁用自动构建
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6434968/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do you disable auto build in xcode
提问by user605957
The latest Xcode builds while coding... It gets stuff wrong and slows my Mac down. How do I disable this and have it build on demand?
最新的 Xcode 在编码时构建......它出错并降低了我的 Mac 的速度。如何禁用它并按需构建?
回答by edo42
Go to Preferences -> General and disable Live Issues in Editors and in Issue Navigator
转到首选项 -> 常规并在编辑器和问题导航器中禁用实时问题
Update: It's called Show Live Issuesin the latest Xcode versions
更新:在最新的 Xcode 版本中称为Show Live Issues
回答by Lal Krishna
If you have any IB_DESIGNABLE
in source files, the system's live tracker will check for issues in StoryBoard too. It may leads to unnecessary building.
如果您有IB_DESIGNABLE
任何源文件,系统的实时跟踪器也会检查 StoryBoard 中的问题。它可能会导致不必要的建筑。
To disable it-
要禁用它-
Open Storyboard file. Editor -> Automatically Refresh Views (Uncheck)
打开故事板文件。编辑器 -> 自动刷新视图(取消选中)
If you needs to Disable Live issue tracking
如果您需要禁用实时问题跟踪
XCode -> Preferences -> General -> Issues -> Uncheck Live Issues
XCode -> Preferences -> General -> Issues -> Uncheck Live Issues