How can I build for release/distribution on the Xcode 4?

后端 未结 9 1482
鱼传尺愫
鱼传尺愫 2020-12-07 13:53

Build for debug is just press on the PLAY symbol, but I don\'t know how to Build for distribution/release?

9条回答
  •  伪装坚强ぢ
    2020-12-07 14:41

    The "play" button is specifically for build and run (or test or profile, etc). The Archive action is intended to build for release and to generate an archive that is suitable for submission to the app store. If you want to skip that, you can choose Product > Build For > Archive to force the release build without actually archiving. To find the built product, expand the Products group in the Project navigator, right-click the product and choose to show in Finder.

    That said, you can click and hold the play button for a menu of other build actions (including Build and Archive).

提交回复
热议问题