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

Build issues while exporting and manual code signing even on cordova-ios 4.5.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Incomplete
    • cordova-ios 4.5.0
    • None
    • cordova-ios
    • None

    Description

      After running cordova build ios with manual signing enabled in xcode 9, I get the following error even after updating to cordova-ios 4.5.2 that should've fixed this issue.

      2017-10-17 21:42:50.890 xcodebuild[2005:19419] [MT] IDEDistribution: -[IDEDistributionLogging
      _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/0g/dd1ww3615ng7n2c4ryjjncbh0000gn/T/My
      App_2017-10-17_21-42-50.889.xcdistributionlogs'.
      2017-10-17 21:42:51.455 xcodebuild[2005:19419] [MT] IDEDistribution: Step failed:
      <IDEDistributionSigningAssetsStep: 0x7fd21eab3ae0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain
      Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed.,
      IDEDistributionSigningAssetStepUnderlyingErrors=(
      "Error Domain=IDEProvisioningErrorDomain Code=9 \"\"My App.app\" requires a provisioning profile
      with the Push Notifications feature.\" UserInfo=

      {NSLocalizedDescription=\"My App.app\" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}

      "
      )}
      error: exportArchive: "My App.app" requires a provisioning profile with the Push Notifications feature.

      Error Domain=IDEProvisioningErrorDomain Code=9 ""My App.app" requires a provisioning profile with the
      Push Notifications feature." UserInfo=

      {NSLocalizedDescription="My App.app" requires a provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
        • EXPORT FAILED **

      Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,My
      App.xcarchive,-exportOptionsPlist,/Users/myuser/customers/acme/my_app/app/platforms/ios/exportOptions.plist,-exportPath,/Users/myuser/customers/acme/my_app/app/platforms/ios/build/device

      Attachments

        Activity

          People

            Unassigned Unassigned
            The_Unknown Dennis Patzer
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: