Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12120

iOS/XCode: Cordova build uses wrong signing identity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.3.0
    • cordova-ios@4.5.1
    • cordova-ios
    • XCode 8.1, Cordova iOS 4.3.0

    Description

      When building with cordova-ios 4.1.1 using the follwing command:

      cordova build ios --release --device --buildConfig="config.json"

      with a config.json as follows:

      {
        "ios": {
          "release": {
            "codeSignIdentity": "IDENTITY NAME",
            "provisioningProfile": "abcd-efg-hij-klm-nop"
          }
        }
      }
      

      It will build and sign the .ipa File using the correct provisioning profile and identity. (It will use the Enterprise Certificate associated with the provisioning profile specified in the config.json) On 4.1.1 everything behaves as expected (also with XCode 8.1).

      When I execute the same command with cordova-ios 4.3.0 it looks like it will use the signing identity and provisioning profile from the json as during the build, it logs these infos to the console (they all appear correct) but when I check the resulting .ipa file, it is signed with a development profile and not the enterprise profile I specified.

      I have tried specifying the "developmentTeam" option as well but that did not help. It will always sign it with a development profile.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            chtsch Christian Tschanz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: