There are no other way, I search a lot. In XCode 3 this is easy, but now..
In the screen above, I have the Build Configuration, so I can chose if I want:
This 2 kind of config, have their own config in "Build Settings" tabs (in targets config). To create I third one, the Distribution, reading here, it show this image in XCode 3
Where I can do the same in XCode 4????
edit-> Only create a new Schema didn't work, like this is a config in "Build Settings" tag of Targets. I can chose a config for "Debug" and "Release", but, and for I third one?
Choose the project in the Project Navigator on the left. Select the Configurations target from the Targets section and click the Build Settings tab at the top. The Build Settings tab shows the build settings for the Configurations target. It's possible to expand this list with build settings that you define.
Xcode applies settings from a build configuration file before the corresponding settings from the project's or target's Build Settings tab. For example, if you provide a build configuration file for your target, Xcode applies the project settings, then the build configuration settings, then the target settings.
You will have to copy the build settings from your xcodeproj file. Open your xcodeproj file in a text editor and copy: buildSettings = { ... } Into your xcconfig file.
Have a look at the project settings. There is a +
button that you can use to add to configurations here.
You don't need it.
Make sure you check the following list before you Archive:
In Edit Scheme: Select Release as Build Configuration for Archive,
In Project Build Setting: Set Entitlements.plist and your Distribution code signing for Release scheme,
In Entitlements.plist: Set No to ‘can be debugged’.
Then archive and share with your ad-hoc provisioning or submit with distribution provisioning.
Hope this is a comprehensive checklist.
EDIT:
to duplicate an existing configuration:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With