[
https://issues.apache.org/jira/browse/CB-12120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982554#comment-15982554
]
Christian Tschanz commented on CB-12120:
----------------------------------------
[~shazron] Thanks for taking on this report.
The documentation looks better but I still think you should advertise using the
full specification for the codeSignIdentity in the form of "iPhone
Distribution: NAME" instead of just "iPhone Developer" to avoid the confusing
log statements during the build. It does work fine if you specify the
additional fields but as I mentioned the resulting logs do not represent the
intended task in a useful way. When specifying the identity with the full
qualified name, this is not an issue. Alternatively you could also leave the
suggestion as is and add a short explanation that the logs will not always
match the build target.
> 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: Docs, iOS
> Affects Versions: 4.3.0
> Environment: XCode 8.1, Cordova iOS 4.3.0
> Reporter: Christian Tschanz
> Assignee: Shazron Abdullah
> Fix For: [email protected]
>
>
> 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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]