Code signing is required for product type 'Application' in SDK 'iOS5.1'

前端 未结 10 945
萌比男神i
萌比男神i 2020-12-08 12:45

I am using xCode 4.3.1. After i created a project, i build it and tried to Archive. Then i got an error saying; (This is my first project in xCode 4.3.1)

相关标签:
10条回答
  • 2020-12-08 13:46

    I had this problem even though I had a valid provisioning profile for the device. It turned out that I had changed my developer account password and needed to update the password in xcode. This is done by going to preferences-Accounts-Apple ID and entering the new password.

    0 讨论(0)
  • 2020-12-08 13:48

    TN2250 Tech document was retired,To resolve this add IOs5.1 or 8.1 sdk field under Anyios SDK field

    in code sign problem will solved

    0 讨论(0)
  • 2020-12-08 13:49

    Restarting Xcode did the trick for me. :)

    0 讨论(0)
  • 2020-12-08 13:52

    It means you haven't assigned a provisioning profile to the configuration.

    Usually it's because "Any iOS SDK" must have a profile and cannot be set to "Don't sign".

    All this and more is answered in the TN2250 Tech Note about Code Signing and Troubleshooting.

    0 讨论(0)
提交回复
热议问题