ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Specify flavor/scheme via ionic capacitor run

Open biesbjerg opened this issue 2 years ago • 1 comments

It seems it's not possible to specify flavor/scheme when running on device:

ionic capacitor run ios --scheme MYAPP --livereload --external

This has no effect: --scheme MYAPP

Would it make sense to add pass flavor/scheme on to capacitor (maybe even pass on all non-recognized parameters to capacitor run to future proof?) to the list of possible options?

https://ionicframework.com/docs/cli/commands/capacitor-run?_gl=1fxrwna_gaMTcyMzAwNzA0NC4xNzAyNjU0NTMz_ga_REH9TJF6KF*MTcwNDQ2MTc3Ni44LjEuMTcwNDQ2MTk2NC4wLjAuMA..#options

biesbjerg avatar Jan 05 '24 13:01 biesbjerg

Support the addition of --flavor and --scheme to ionic capacitor run

Please note that the --configuration flag from the capacitor CLI seems to select iOS app configuration, while Ionic CLI tries to select the associated configuration (i.e. angular serve config)

xEverth avatar Dec 23 '24 12:12 xEverth