Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Xcode 9 app automatically building in background

Since updating to Xcode 9 I am seeing it build the app automatically in the background when I open xib file.

How can I disable this?

like image 312
Vlad Avatar asked Sep 18 '17 23:09

Vlad


People also ask

How do I stop auto build in Xcode?

Thankfully, you can disable these automatic rebuilds by opening any file in Interface Builder, going to Editor menu and unchecking Automatically Refresh Views. After this change, you'll now have to manually trigger an IB-specific build when you want to see the preview of your @IBDesignable views.

How do I turn off auto build?

If you want to turn off auto Building your project, click the Project menu and uncheck the Build automatically menu. Also available in the Workspace settings: Windows –> Preferences –> General –> workspace --> uncheck "Build Automatically" box.

Where is background modes in Xcode?

Select your app's target in Xcode and select the Capabilities tab. Under the Capabilities tab, set the Background Modes switch to ON and select the “Audio, AirPlay, and Picture in Picture” option under the list of available modes.

How do I stop Xcode?

If you don't want to use that device for development, select it in the Devices Window in Xcode and deselect it as available for development. That should prevent it from being used for development in the future.


1 Answers

Disabling "Automatically Refresh Views" did the trick (un-check box).

While having a XIB file open go to Editor menu and uncheck that option.

You may need to close Xcode to have current build stop then re-open.

enter image description here

like image 166
Vlad Avatar answered Oct 11 '22 11:10

Vlad