How to disable code signing requirement

2019-09-08 18:29发布

问题:

After getting email for invalid binary from Appstore, fixed issue now trying to archive again, Xcode is giving error that code signing is required for product type Application' in SDK iOS 5.1.

So how can i disable this code signing.

Thanks for help.

回答1:

In file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist

change the CODE_SIGNING_REQUIRED YES

to

CODE_SIGNING_REQUIRED NO

Restart Xcode