You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2017/11/29 06:23:00 UTC

[jira] [Resolved] (CB-13525) cordova build doesn't pass build flag "-allowProvisioningUpdates" to xcodebuild

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

Darryl Pogue resolved CB-13525.
-------------------------------
       Resolution: Fixed
    Fix Version/s: cordova-ios@4.5.4

This should be fixed in cordova-ios 4.5.4, but in a slightly different way.

Rather than using build flags, we added a {{automaticProvisioning}} boolean field to build.json. Docs change is pending, but you can read about it here: https://github.com/apache/cordova-docs/pull/762/files?short_path=f22acfe#diff-f22acfe9e3ac5b3385cf807e058ccd72

> 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
>             Fix For: cordova-ios@4.5.4
>
>
> 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