You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/03/23 17:35:41 UTC

[jira] [Comment Edited] (CB-12599) Cordova CLI - ios build release signing issues

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

jcesarmobile edited comment on CB-12599 at 3/23/17 5:34 PM:
------------------------------------------------------------

You are missing the "provisioningProfile": "udid-of-your-provisioning-profile-here"

You have to generate a provisioning profile on Apple dev site and download it, and look for it's udid to put it on the build.json

EDIT: As you say that it works from Xcode, that means you already have the provisioning profile, so look for it and search for the udid


was (Author: jcesarmobile):
You are missing the "provisioningProfile": "udid-of-your-provisioning-profile-here"

You have to generate a provisioning profile on Apple dev site and download it, and look for it's udid to put it on the build.json

> 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: CLI, 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
>
> 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.3.15#6346)

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