How do I toggle between Debug and Release builds in Xcode 6 / 7 / 8?

drewish picture drewish · Jan 21, 2015 · Viewed 68.7k times · Source

How do I get Xcode to build an OS X app in release mode? I can only seem to find instructions for earlier versions and none of the screenshots match. I didn't see anything when I put "release" into the help menu's search.

Answer

skyline75489 picture skyline75489 · Jan 21, 2015

In Xcode 6 - 10:

Choose Product -> Scheme -> Edit Scheme. Change the Build Configuration under the Info tab.

Shortcut: hold Alt and click the run button .


enter image description here

enter image description here