cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Tschanz (JIRA)" <>
Subject [jira] [Commented] (CB-12120) iOS/XCode: Cordova build uses wrong signing identity
Date Mon, 14 Nov 2016 10:12:58 GMT


Christian Tschanz commented on CB-12120:

I could "fix" this issue. Simply using {{iPhone Developer}} with the {{developmentTeam}} setting,
shows the very confusing messages I mentioned before but when you configure your {{build.json}}
as follows, it shows the correct Identities and entitlements during the build process and
builds using the correct settings:
"release": {
    "codeSignIdentity": "iPhone Distribution: NAME",
    "provisioningProfile": "abcd-efg-hij",
    "developmentTeam": "FG35JLLMXX4A",
    "packageType": "enterprise"
(Adjust the values to fit your project and signing identities)

I think you shouldn't advertise simply setting {{iPhone Developer}} as the {{codeSignIdentity}}
in the docs as it might lead to confusion.

> iOS/XCode: Cordova build uses wrong signing identity
> ----------------------------------------------------
>                 Key: CB-12120
>                 URL:
>             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:
> {code:javascript}
> {
>   "ios": {
>     "release": {
>       "codeSignIdentity": "IDENTITY NAME",
>       "provisioningProfile": "abcd-efg-hij-klm-nop"
>     }
>   }
> }
> {code}
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message