cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerri Shotts (JIRA)" <>
Subject [jira] [Commented] (CB-12249) Cordova throws an error when building for iOS since updating to Xcode 8.2/iOS SDK 10.2
Date Wed, 14 Dec 2016 16:27:58 GMT


Kerri Shotts commented on CB-12249:

Take a look at this article:

You should, ideally, have a build.json file with an "ios" entry that links to your developer
team ID. For example:

  "ios": {
    "debug": {
      "developmentTeam": "YOURTEAMID"
    "release": {
      "developmentTeam": "YOURTEAMID",
      "codeSignIdentity": "iPhone Developer",
      "packageType": "ad-hoc|app-store|enterprise"

If you don't have a build.json, the build process is just reusing your signing settings specified
in the project. Which is fine, until you need to remove the platform and add it back for some
reason, at which point you'll have the signing issue again.

> Cordova throws an error when building for iOS since updating to Xcode 8.2/iOS SDK 10.2
> --------------------------------------------------------------------------------------
>                 Key: CB-12249
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.3.1
>         Environment: Xcode 8.2
> Build version 8C38
> Node version: v6.9.1
> Cordova version: 6.4.0
> cordova-ios@4.3.1
>            Reporter: Kelvin Dart
>              Labels: build, ios, ios10
> Since updating to Xcode 8.2/iOS SDK 10.2, I seem to be having problems building. The
console is stating:
> Check dependencies
> Signing for "MyApp" requires a development team. Select a development team in the project
> Code signing is required for product type 'Application' in SDK 'iOS 10.2'
> The following build commands failed:
> 	Check dependencies
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/development/src/MyApp/Current/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyApp.xcworkspace,-scheme,MyApp,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,MyApp.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/development/src/MyApp/Current/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/development/src/MyApp/Current/platforms/ios/build/sharedpch
> One way to fix it is to open the Xcode project, and disable "Automatic Code Signing".
But not the perfect solution. This was not a problem in previous versions of Xcode, including
Xcode 8.1.

This message was sent by Atlassian JIRA

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

View raw message