These steps solved it for me (some of them are in the answers above):
- Update to Xcode 5.0.1 (current version); otherwise Xcode crashed when pressing "Cancel"
- Update of my "Distribution iOS Provisioning Profile" in the Developer Center (https://developer.apple.com) because mine were outdated.
- Xcode > Preferences > Accounts > Apple IDs > > View Details ...:
- The list below in the popup was outdated ==> Select iOS Distribution and press "+" (I don't remember what Magic happened then, however the list was actual after that)
- As in the answer above: In Xcode go to the Build Setting and search for "code signing" and:
- Change the "Code Signing Identity" for "Distribution" and "Release" to "iPhone Distribution"
- Change the "Provisioning Profile" for "Distribution" and "Release" to (I could not find it before doing step 4)
I was very glad that I didn't have to revoke everything in the Developer Portal.
My announcement to Apple: Please, make this process much more easier and bugfree! It's such a hassle that costs me hours every time you force me to update to a new MacOS, Xcode, iTunes, iOS in order to keep my software running!
from http://stackoverflow.com/questions/9635939/error-no-identities-are-available-for-signing-xcode-4-3-1