cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-12599) Cordova CLI - ios build release signing issues
Date Mon, 12 Jun 2017 18:17:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046849#comment-16046849
] 

Matthew edited comment on CB-12599 at 6/12/17 6:16 PM:
-------------------------------------------------------

I am also having an issue with this. I recently updated my signing certificates since they
were about to expire and after creating new provisioning profiles (and updating build.json),
I am no longer able to build. My certificates and associated private keys are in the login
keychain as expected. Xcode builds dev builds and distribution builds without issues.

If I remove the provisiningProfile entry from this build.json, that throws a different error
until I add it back in.

I've been really confused by what appears to be conflicting advice Cordova's pages about using
just the string "iPhone Developer."

I've also noticed that if I put the certificates I have into the System keychain, I can build
from the command line (but not with jenkins). I didn't think the System keychain was the appropriate
place for these certificates but it was an interesting find when I tried that.

Xcode 8.3.2

I can get two different error statements based on whether I run this in jenkins or through
the command line over SSH.

Jenkins
{noformat}
Provisioning profile "xmobile dev profile" doesn't include signing certificate "iPhone Developer:
Matthew Allison (EZCX646UL2)".
{noformat}

SSH command line
{noformat}
No certificate matching 'iPhone Developer: Matthew Allison' for team 'XHP8M4362G':  Select
a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected
certificate, or switch to automatic provisioning.
Code signing is required for product type 'Application' in SDK 'iOS 10.3'
{noformat}

{code:java}
  "ios": {
    "debug": {
      "codeSignIdentity": "iPhone Developer: Matthew Allison (EZCX646UL2)",
      "developmentTeam": "XHP8M4362G",
      "packageType": "development",
      "provisioningProfile": "25178f0f-7562-46fa-91d4-2aa4dff903ea"
    }
{code}



was (Author: malco):
I am also having an issue with this. I recently updated my signing certificates since they
were about to expire and after creating new provisioning profiles (and updating build.json),
I am no longer able to build. My certificates and associated private keys are in the login
keychain as expected. Xcode builds dev builds and distribution builds without issues.

If I remove the provisiningProfile entry from this build.json, that throws a different error
until I add it back in.

I've been really confused by what appears to be conflicting advice Cordova's pages about using
just the string "iPhone Developer."

I've also noticed that if I put the certificates I have into the System keychain, I can build
from the command line (but not with jenkins). I didn't think the System keychain was the appropriate
place for these certificates but it was an interesting find when I tried that.

Xcode 8.3.2

{noformat}
No certificate matching 'iPhone Developer: Matthew Allison' for team 'XHP8M4362G':  Select
a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected
certificate, or switch to automatic provisioning.
Code signing is required for product type 'Application' in SDK 'iOS 10.3'
{noformat}

{code:java}
  "ios": {
    "debug": {
      "codeSignIdentity": "iPhone Developer: Matthew Allison (EZCX646UL2)",
      "developmentTeam": "XHP8M4362G",
      "packageType": "development",
      "provisioningProfile": "25178f0f-7562-46fa-91d4-2aa4dff903ea"
    }
{code}


> Cordova CLI - ios build release signing issues
> ----------------------------------------------
>
>                 Key: CB-12599
>                 URL: https://issues.apache.org/jira/browse/CB-12599
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli, cordova-ios
>    Affects Versions: 3.5.0
>         Environment: Cordova @ 6.5.0
> Cordova CLI @ 6.5.0
> Cordova-ios@4.3.1
> XCode @ 8.2.1
> OS X El Capitan @ 10.11.5
>            Reporter: Anton Van Zyl
>              Labels: build, easyfix, ios, ios-deploy, ios10
>             Fix For: cordova-ios@4.4.1
>
>
> When Signing of the ios application with Cordova-ios@4.3.1 and XCode 8.2.1 through CLI
 using build.json:
> {code:title=CLI Command|borderStyle=solid}
> `sudo cordova build ios --release --device --buildConfig`
> {code}
> I get the following error:
>  
> {quote}
> No profile for 'something.something.something' were found: Xcode couldn't find a provisioning
profile matching 'something.something.something'. Code signing is required for product type
'Application' in SDK 'iOS 10.2'
> {quote}
>  
> I can however do a archive through Xcode, and successfully upload the ios application
to the app-store for testing. This all just tells me that my certificates and provisioning
profiles are all available. Xcode can sign my app. 
> Is there something I am missing, doing wrong or still need to do to get cordova building
ios? 
> build.json file part: 
> {code:title=build.json|borderStyle=solid}
> "release" : {
> 	  "codeSignIdentity" : "iPhone Developer",
> 	  "developmentTeam" : "<my team id>",
> 	  "packageType" : "app-store"
> 	}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message