I am so much confusing with these settings for app store.Can any one please clarify it. Those are Edit scheme settings and What certificates i need to set for Debug, Distribution and Release at the time of submitting app to app store.
Follow these steps :
1) Click on plus and and duplicate release configuration
2) Edit scheme so that archive is done using distribution
3) Click you distribution profile as code signing identity
4) Then next to Run .in Xcode..make sure you have your device selected..not the simulator..then Go to Product and click archive..The Rest step will be easy since Xcode will help you in the,.