luxaritas opened a new issue, #1488: URL: https://github.com/apache/cordova-ios/issues/1488
# Bug Report ## Problem ### What is expected to happen? `npx cordova build ios --release --device -- --automaticProvisioning` would pass `-allowProvisioningUpdates` to `xcodebuild` ### What does actually happen? `xcodebuild` is not passed `-allowProvisioningUpdates` ## Information Both the [cordova-cli docs](https://cordova.apache.org/docs/en/12.x/reference/cordova-cli/index.html#cordova-build-command) and [cordova-ios docs](https://cordova.apache.org/docs/en/12.x/guide/platforms/ios/index.html#using-flags) specify you need to add an extra `--` in order to provide platform-specific options. This is indeed the case for `cordova-android`. However for `cordova-ios`, adding the extra double dash appears to prevent the extra arguments from being processed. It's possible that because I use `npx` something weird is happening here, but as far as I can tell, the behavior is inconsistent with `cordova-android`, so that shouldn't be the issue. ### Command or Code `cordova build` ### Environment, Platform, Device N/A ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Node 20, cordova 12.0.0, cordova-ios 7.1.0 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org