How to switch between Debug and Release builds in Xcode 6/7/8?

How to get Xcode to build an OS X application in release mode? I can only find instructions for earlier versions, and none of the screenshots match. I did not see anything when I added "release" to the search help menu.

+59
xcode xcode6 xcode7 xcode8
Jan 21 '15 at 4:38
source share
3 answers

In Xcode 6/7/8:

Choose ProductSchemaChange Schema . Change the Build Configuration on the Info tab.

Shortcut: hold Alt ⌥ and press the start button .

+122
Jan 21 '15 at 4:51 on
source share

The easiest way with a project that is configured by default for schemas is to simply execute Product → Build For → Profiling.

+10
Jul 31 '15 at 19:21
source share

If you want to generate a release assembly, select Product → Archive. This is a release build. You can now export the Mac OS X application.

+2
Mar 23 '17 at 17:37
source share



All Articles