iOS 5.1 and Xcode 4.3.1 CodeSign Error

て烟熏妆下的殇ゞ 提交于 2019-12-05 20:19:00

问题


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.



来源:https://stackoverflow.com/questions/9647459/ios-5-1-and-xcode-4-3-1-codesign-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!