Closed corrrso closed 7 months ago
all arguments are passed in the same string so you'll need to escape it correctly:
pymobiledevice3 developer dvt launch --rsd xx:xxx:xxx:xx yyyyy my_bundle_identifier -- '--argname=argvalue --argname2=argvalue2'
If I try the above with your exact syntax I get Error: Got unexpected extra argument (--argname=argvalue --argname2=argvalue2)
correct. i had a small mistake:
pymobiledevice3 developer dvt launch --rsd fdf6:dc0:6705::1 62157 -- 'my_bundle_identifier --argname=argvalue --argname2=argvalue2'
oooh now I get it, ALL arguments must be passed as a single string, bundle id included.
Yup this works. Thanks!
Feature request:
pymobiledevice3 developer dvt launch
doesn't seem to allow custom arguments to be passed (useful for passing startup args). I wonder if it's possible to extend the command to allow this (there is something already implemented for env variables, just not for arguments), since also other libraries allow this as well (E.G. libimobiledevice).E.G. I'm trying to pass args like this
pymobiledevice3 developer dvt launch my_bundle_identifier --argname=argvalue --argname2=argvalue2 --rsd xx:xxx:xxx:xx yyyyy
If I try to do so, I getError: No such option: --argname
Tested this on version
2.33.0
, tvOS 17.1