Unlike the Android Market the Apple App Store submission is a pain in the backside. Here are my notes from repeatedly failing at it:
Setup your app details in Itunes Connect. Your bundle ID should look something like this: com.nuclearcarrot.oystererrors
Next manage your certificates and profiles at apple developer
Go to Provisioning. Create a Distribution Profile (Note a Developer Profile). Can not use a Wildcard AppId for this.
Your appid should look like this: 1234123456.com.nuclearcarrot.oystererrors
Download this baby and drag it into XCode.
Xcode Project -> Build Settings -> Code Signing and configure it as Iphone Distribution.