问题
I have a app with iCloud functions enabled. App works fine while running in device but while trying to create a .ipa file it fails to create.
I cannot create .ipa file because this issue. Please provide some suggestions on this issue.
回答1:
This is a a new issue found in Xcode 6.
Solution:
Xcode menu > Preferences > Accounts > (Select Team if needed) > Details > Click Refresh button
Then try to Export the IPA again.
回答2:
First, you must have an available Develop Account for iOS, and download the certificate and import it into your Mac Keychain. It would resolve the developer profile missing issue. Then might you need to create an APP ID for this project on Apple Developer Center with iCloud function on, and create develop/product provisioning profile pair. Then Xcode could fix the issue.
P.S. Raptor's answer is useful on newly updated Xcode6 as I experienced.
来源:https://stackoverflow.com/questions/26709630/issue-while-creating-ipa