开发者

In Xcode 4, how do I build the "Debug", "Ad hoc" and "Store" settings?

开发者 https://www.devze.com 2023-02-17 05:21 出处:网络
With the new Xcode 4, I imp开发者_运维技巧orted a Xcode 3 project. I used to have three different sets of build settings, for \"Debug\", \"Ad hoc\" and \"Store\". Now, I don\'t find them anywhere in t

With the new Xcode 4, I imp开发者_运维技巧orted a Xcode 3 project. I used to have three different sets of build settings, for "Debug", "Ad hoc" and "Store". Now, I don't find them anywhere in the new interface. The settings (like code signing options) are still there in the build settings, but how do I select one or the other?


You can edit scheme and assign different configuration for different actions. Adhoc configuration for archiving for example.

Click 'Scheme' button and select 'Edit scheme'. You'll see 'Archive' item which allow you to change configuration for archiving application.


In Xcode4 you basically create a build and sign it afterwards, while in Xcode3 you had to select this upfront.

Archive your app (Product > Archive) and in the Organizer select the Archives tab. Here you can select an archived app and when you share it, you can select a provisioning profile (for instance your ad hoc provisioning profile) to sign it with.

0

精彩评论

暂无评论...
验证码 换一张
取 消