Xcode 7.3 constantly building in idle
Asked Answered
E

4

5

enter image description hereI 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.

Eudo answered 31/3, 2016 at 13:48 Comment(2)
Duplicate? XCode keeps building storyboard after each keystrokeHackathorn
Possible duplicate of Xcode keeps building storyboard after each keystrokeAbridge
P
9

in XCode: Editor > Automatically Refresh Views

Unselect it and re-run project. Thats it!

Pushbike answered 9/2, 2017 at 14:12 Comment(0)
E
10

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.

Eudo answered 18/4, 2016 at 12:46 Comment(2)
You should report this at Apple Bug Reporter. You'll need to login with your developer ID.Hackathorn
I remarked out the IBDesignable occurrences, and everything started working correctly as you suggest. I then went back and un-remarked the IBDesignable occurrences, and Xcode continued to work fine. You might try re-adding your IBDesignable attributes and see what happens.Hackathorn
P
9

in XCode: Editor > Automatically Refresh Views

Unselect it and re-run project. Thats it!

Pushbike answered 9/2, 2017 at 14:12 Comment(0)
P
0

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.

Pained answered 6/4, 2017 at 17:17 Comment(0)
B
0

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

<device id=“retina5_9” ...>
    <adaptation id="fullscreen"/>
</device>

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!

Ballade answered 14/10, 2017 at 14:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.