cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmidt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-13525) cordova build doesn't pass build flag "-allowProvisioningUpdates" to xcodebuild
Date Wed, 01 Nov 2017 23:31:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Schmidt updated CB-13525:
---------------------------------
    Description: 
build.json:
{code}
  "ios": {
    "debug": {
      ...
      "buildFlag": [
        "-allowProvisioningUpdates"
      ]
    },
    "release": {
      ...
      "buildFlag": [
        "-allowProvisioningUpdates"
      ]
    }
  },
{code}

when running the following command:
{code}
cordova build ios --release --device --buildConfig="build.json" --verbose
{code}

cordova build shows that the build flag is detected:
{code}
Adding xcodebuildArg: -allowProvisioningUpdates
{code}

BUT it doesn't pass on the build flag to xcodebuild - as shown in the argument list to xcodebuild
on an error:
{code}
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,DemoApp.xcarchive,-exportOptionsPlist,/demo/platforms/ios/exportOptions.plist,-exportPath,/demo/platforms/ios/build/device
{code}


  was:
build.json:
{code}
  "ios": {
    "debug": {
      ...
      "buildFlag": [
        "-allowProvisioningUpdates"
      ]
    },
    "release": {
      ...
      "buildFlag": [
        "-allowProvisioningUpdates"
      ]
    }
  },
{code}

when running the following command:
{code}
cordova build ios --release --device --buildConfig="build.json" --verbose
{code}

cordova build shows that the build flag is detected:
{code}
Adding xcodebuildArg: -allowProvisioningUpdates
{code}

BUT it doesn't pass on the build flag to xcodebuild:
{code}
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,DemoApp.xcarchive,-exportOptionsPlist,/demo/platforms/ios/exportOptions.plist,-exportPath,/demo/platforms/ios/build/device
{code}



> cordova build doesn't pass build flag "-allowProvisioningUpdates" to xcodebuild
> -------------------------------------------------------------------------------
>
>                 Key: CB-13525
>                 URL: https://issues.apache.org/jira/browse/CB-13525
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>         Environment: cordova 7.1.0
> cordova iOS 4.5.3
> Xcode 9.1.0
>            Reporter: Michael Schmidt
>            Assignee: Suraj Pindoria
>            Priority: Critical
>
> build.json:
> {code}
>   "ios": {
>     "debug": {
>       ...
>       "buildFlag": [
>         "-allowProvisioningUpdates"
>       ]
>     },
>     "release": {
>       ...
>       "buildFlag": [
>         "-allowProvisioningUpdates"
>       ]
>     }
>   },
> {code}
> when running the following command:
> {code}
> cordova build ios --release --device --buildConfig="build.json" --verbose
> {code}
> cordova build shows that the build flag is detected:
> {code}
> Adding xcodebuildArg: -allowProvisioningUpdates
> {code}
> BUT it doesn't pass on the build flag to xcodebuild - as shown in the argument list to
xcodebuild on an error:
> {code}
> Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,DemoApp.xcarchive,-exportOptionsPlist,/demo/platforms/ios/exportOptions.plist,-exportPath,/demo/platforms/ios/build/device
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message