-->

iOS 5.1 and Xcode 4.3.1 CodeSign Error

2019-04-06 02:52发布

问题:

I just downloaded the iOS 5.1 and the Xcode 4.3.1. But when I'm going to test in my device, the Xcode give me the error:

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.1'

Any idea how to fix it?

回答1:

Try assigning your provision code in every fields like the below picture. I had same issue after upgrading to the iOS 5.1 and the Xcode 4.3.1, but it started working fine after I tried this.

assign all provisions like this just once. (or try changing "any SDK" to "iOS5.1"

Previously, I was doing like this.



回答2:

You should revoke your certificate and make a new certificate request from Keychain access. make new certificate and install it. you don't really need to create new provision profile the existing one modify and select the certificate newly created but you must download updated provision profile and install to xcode.

everything works perfectly for me. hope this could hlep.



标签: xcode ios5.1