[ 
https://issues.apache.org/jira/browse/CB-13525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242225#comment-16242225
 ] 

Austin France edited comment on CB-13525 at 11/7/17 3:59 PM:
-------------------------------------------------------------

I have hit this issue also, here is my stackoverflow question about it

https://stackoverflow.com/questions/47159396/xcode-couldnt-find-any-ios-app-store-provisioning-profiles-automatic-signing-i

As a hack to work around the issue, I edited platforms/ios/cordova/lib/build.js 
and added the flag to the list of flags returned by {getXcodeArchiveArgs}



was (Author: mehuge):
I have hit this issue also, here is my stackoverflow question about it

https://stackoverflow.com/questions/47159396/xcode-couldnt-find-any-ios-app-store-provisioning-profiles-automatic-signing-i



> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to