116

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
  • 7,137
  • 11
  • 50
  • 94
drewish
  • 9,042
  • 9
  • 38
  • 51

3 Answers3

237

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
  • 27,874
  • 70
  • 431
  • 719
ljk321
  • 16,242
  • 7
  • 48
  • 60
15

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
  • 515,959
  • 87
  • 875
  • 1,141
12

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

algal
  • 27,584
  • 13
  • 78
  • 80