Xcode 5: Code signing entitlement errors

前端 未结 21 2543
情书的邮戳
情书的邮戳 2020-11-27 12:45

I\'ve build a new application which is going to support IOS 7. I got the new XCode 5 GM and tried to sign my apps using my fresh provisioning profile and distribution certif

21条回答
  •  猫巷女王i
    2020-11-27 12:51

    I had the same problem, but nothing written here worked for me. However, I found a simple way that worked for me. Here's how to do it:

    1) In your Project and your Target(s) build settings, choose "None" for all Provisioning profiles, and choose "Don't Code Sign" for all Code Signing Identities.

    2) Now, choose your Target and go to build settings. In Code Signing Identity Release setting, choose "iOS Distribution" for "Any iOS SDK". And then, in Provisioning Profile Release setting, choose your distribution profile for "Any iOS SDK". After that your Code Signing Identity Release setting should automatically change to "iPhone Distribution".

    3) Archive your build and validate. Now it should work fine. That's it!

提交回复
热议问题