Ionic cap run --target with name instead of ID


I want to run the app in simulator for which I am using the command

ionic cap run ios -l --external --target < ID >

However the ID keeps changing after build updates. Is it possible to open the simulator using device name instead? like

ionic cap run ios -l --external --target “iPad (10th generation)”

1 Like

I’m also looking for a solution to this – this would be a nice time-saver, and would make it easier to collaborate, as device IDs are unique to a user.