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

Matthew commented on CB-12599:
------------------------------

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
> [email protected]
> XCode @ 8.2.1
> OS X El Capitan @ 10.11.5
>            Reporter: Anton Van Zyl
>              Labels: build, easyfix, ios, ios-deploy, ios10
>             Fix For: [email protected]
>
>
> When Signing of the ios application with [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to