I\'m new to iOS Development and may very well have missed something relevant.
I have an app developed in Xcode and tested with development devices so that I know tha
Try refreshing Certs/Provisioning Profiles in the new XCode 5 Accounts
XCode > menu > Preferences > Accounts
Click on your Developer Account from list on the Left
View Details button on right
Pop down screen appears
Hit tiny refresh button on bottom left.
If it says NO SIGNING CERT FOUND then
1. if this is your first deploy to App Store then you need a cert.
2. If youve done it before did you choose the right account from the list.
Should have ADMIN status
The Top table should have VALID in second column
In bottom table sort by Expiration.
Scroll up and down as sorting doesnt move to top or bottom of table.
Make sure your Distribution cert hasnt expired.
If so you need to renew it in developer.apple.com
I find its safer do everything anything cert or prov profile related through this new accounts screen. If you change it on developer.apple.com. Dont download it. Just go to XCode accounts and hit refresh. things like Organizer > Validate > Distribute behave themselves then.


Someone mention setting the Prov profiles in Build Settings.
Dont think this is needed anymore after XCode 5.
Here's screen shot of my Build settings.
If you add the right iTunes Developer account in XCode > Accounts.
When you Archive > Validate its there that you get a list of Distribution PPs to sign you app with. So setting them in Build Settings not needed.

