How to add configurations to Xcode?
Solution 1:
Have a look at the project settings. There is a +
button that you can use to add to configurations here.
Solution 2:
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: