Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12249

Cordova throws an error when building for iOS since updating to Xcode 8.2/iOS SDK 10.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 4.3.1
    • None
    • cordova-ios
    • Xcode 8.2
      Build version 8C38
      Node version: v6.9.1
      Cordova version: 6.4.0
      cordova-ios@4.3.1

    Description

      Since updating to Xcode 8.2/iOS SDK 10.2, I seem to be having problems building. The console is stating:

      === BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===

      Check dependencies
      Signing for "MyApp" requires a development team. Select a development team in the project editor.
      Code signing is required for product type 'Application' in SDK 'iOS 10.2'

        • ARCHIVE FAILED **

      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.

      Attachments

        Activity

          People

            kerrishotts Kerri Shotts
            keldar Kelvin Dart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: