I see only Debug and Release configuration. I need to add distribution configuration.
I see only Debug and Release configuration. I need to add distribution configuration.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Click on your project (in the left pane) so that the main pane shows the build settings and all that.
Select your project (not a target), then select Info.
You’ll see the listed configurations, Debug and Release. There you can add another one, Distribution, based on any existing configuration. You could also create an Ad Hoc configuration. The advantage here is that in the build configurations you can setup code signing per-configuration in a (nearly) “set and forget” fashion. (I always double check that the certs being used are the ones that should be used, however.)
Here’s another tip. Duplicate your main scheme and call it “Distro: My App” and edit the Archive action to use your Distribution configuration (rather than say, Ad Hoc or Release). This way, when you want to build a Distribution archive, you can just switch schemes, rather than having to edit your schemes and then remember to undo that change.