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

后端 未结 3 1560
时光取名叫无心
时光取名叫无心 2020-12-13 01:14

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

相关标签:
3条回答
  • 2020-12-13 01:52

    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.

    0 讨论(0)
  • 2020-12-13 01:57

    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 .


    0 讨论(0)
  • 2020-12-13 02:07

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

    0 讨论(0)
提交回复
热议问题