I noticed that Xcode 7.3 always keep building, even in idle time. This loads CPU much, so sometimes it stops responding. Does anyone have an idea how to turn of this "feature"? This may be related with mutli-target workspace, cause usually it builds different targets, not currently selected.
相关问题
- Xcode debugger displays incorrect values for varia
- Image loads in simulator but not device?
- importing files from other directories in xcode
- XCode Server: Opening import file for module '
- create tableview inside tableviewcell using swift
相关文章
- Handling ffmpeg library interface change when upgr
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
- didBeginContact:(SKPhysicsContact *)contact not in
- Build errors of missing packages in Visual Studio
After some time struggling this, I finally solved this issue.
Xcode started idle build right after I open Interface Builder. Removing
@IBDesignable
across all project solved this, so I hope this issue can be solved in future Xcode updates to get using@IBDesignable
again.Going along with @oleg-kohtenko's answer, closing all Interface Builder windows seems to fix the issue without the need to remove @IBDesignable.
And if you aren't really using IBDesignable, you can still use IBInspectable attributes without causing the building problem.
in XCode: Editor > Automatically Refresh Views
Unselect it and re-run project. Thats it!
Just my two cents if designables agent gets hang on Xcode 9. If you were visualizing the problematic storyboard as iPhone X, edit such storyboard file as source code (right click -> open as -> source code).
Near the top, you'll see a xml block stating
Change the id to “retina5_5” (iPhone plus, just the option I used, I’m assuming others would work).
Save and open the file as interface builder and you should be fine. Now take the time and file a bug report :D
Happy coding!