You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Christian Tschanz (JIRA)" <ji...@apache.org> on 2016/11/07 13:41:58 UTC

[jira] [Created] (CB-12120) iOS/XCode: Cordova build uses wrong signing identity

Christian Tschanz created CB-12120:
--------------------------------------

             Summary: iOS/XCode: Cordova build uses wrong signing identity
                 Key: CB-12120
                 URL: https://issues.apache.org/jira/browse/CB-12120
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.3.0
         Environment: XCode 8.1, Cordova iOS 4.3.0
            Reporter: Christian Tschanz


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org