100

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.

7heViking
  • 6,055
  • 10
  • 44
  • 83
drewish
  • 8,029
  • 8
  • 36
  • 49

3 Answers3

206

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

Fattie
  • 30,632
  • 54
  • 336
  • 607
skyline75489
  • 14,089
  • 7
  • 43
  • 59
11

The easiest way with a project that has the default set up for schemes is just to do Product -> Build For -> Profiling.

algal
  • 26,206
  • 12
  • 73
  • 78
11

When you want to generate a release build, choose Product -> Archive. That is a Release build. Now you can export as a Mac OS X app.

matt
  • 447,615
  • 74
  • 748
  • 977