Code Sign Error on Xcode 8 and iOS 10 Cordova Project

Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'

You need to specify the provisioning profile in your build.json file in order for the exportOptions.plist file to be generated correctly during the Cordova build phase. Try it with one variation to see if it works, then you may want to keep variations of build.json for each application build variant. This is actually what I do in our projects. Our grunt build script copies build-.json to build.json prior to "cordova add platform", and "cordova build".

"provisioningProfile": "provisioning profile name or UUID"

After the Cordova build command is run, succeed or fail the exportOptions.plist is generated @

cordova/app/platforms/ios/exportOptions.plist

I found it helpful to review this as a debugging tool.

Unable to Code sign iOS application due to duplicate distribution certificates with different private keys

Issue resolved after removing the old certificate and modified the provision profile for Project A to use same certificate used by Project B.

Xcode error: Code signing is required for product type 'Application' in SDK 'iOS 10.0'

With Xcode-8.1 & iOS-10.1

  1. Add your Apple ID in Xcode Preferences > Accounts > Add Apple ID:

Step 1


  1. Enable signing to Automatically && Select Team that you have created before:

Step 2


  1. Change the Bundle Identifier:

Step 3


  1. Code Signing to iOS Developer:

Step 4


  1. Provision profile to Automatic:

Step 5

You can now run your project on a device!



Related Topics



Leave a reply



Submit