Xcode 7.3 is constantly in standby mode

enter image description here I noticed that Xcode 7.3 always continues to build, even in idle mode. This loads the processor very much, so sometimes it stops responding. Does anyone have an idea how to turn this "feature"? This may be due to the mutli-target workspace because it usually creates different targets that are not currently selected.

+5
source share
4 answers

in Xcode: Editor> Automatically Updates Views

Deselect and restart the project. Here it is!

+8
source

After some time struggling with this, I finally solved this problem.

Xcode started the inactive build right after opening Interface Builder. Removing @IBDesignable in all projects solved this, so I hope this problem can be resolved in future Xcode updates to use @IBDesignable again.

+10
source

The response coming along with @ oleg-kohtenko, closing all the Interface Builder windows, seems to fix the problem without having to remove @IBDesignable.

And if you are not using IBDesignable, you can still use the IBInspectable attributes without causing build problems.

0
source

Only my two cents, if the design agent gets to Xcode 9. If you visualized a problematic storyboard like iPhone X, edit the storyboard file as source code (right-click โ†’ open as โ†’ source code).

Near the top you will see the xml block, which indicates

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

Change the id to โ€œretina5_5โ€ (iPhone plus, only the option I used, Im assuming others will work).

Save and open the file as the creator of the interface, and everything will be fine. Now take the time and report the error: D

Happy coding!

0
source

Source: https://habr.com/ru/post/1246157/


All Articles