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

旧街凉风 提交于 2019-12-10 16:48:39

问题


I know this has been asked before.

However, I have ensured that the profile is in BOTH the project and target.

Actually should I set that up in the project or in target?

Update: I can actually install the app on device but if and only if I change the code signing identity to iPhone Developer for debug.

However, I obviously want to launch the application with my distribution profile instead of my developer profile.


回答1:


I finally got this thing solved.

Basically I deleted all certificate and provisioning profile from itunes connect or apple developer website.

Then I waited 5 minutes. Add 2 distribution provisioning profile. Then do it again.

It works.

Oh ya, I need to ensure that the code signing identity points to the right provisioning profile. That's it.




回答2:


Make your deployment target less than 6.1. It will work




回答3:


In my case, I didn't set the Scheme correctly. Newbies can forget this sometimes.

Go to: Product -> Scheme -> Edit Scheme

Select Archive and make sure that the Build Configuration has desired value Debug/Release (as compared to target settings)



来源:https://stackoverflow.com/questions/15262177/codesign-error-code-signing-is-required-for-product-type-application-in-sdk

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