I want to run my ionic app with capacitor on my phsiscal device, an iPhone 13 mini. But I can not detect the target id.
With ionic cap run ios --list I got a “?”:
❯ ionic cap run ios --list
Name | API | Target ID
-----------------------------------------------------------------------------------------------------
SB 13 mini | iOS 15.2.1 | ?
iPad (9th generation) (simulator) | iOS 15.2 | CB7E86E9-4DC4-4B2A-B57F-B13FE2191075
My workaround is to use “–open” and then build with xcode UI directly. This works. Only via CLI Is not possible.
This is happening more often also when native-run doesn’t yet support the newest iOS version.
One workaround is as you mentioned using --open and run it via xcode. Like this live-reload also works.
ionic cap run ios --open -l --external
Currently native-run v1.7.2 doesn’t support iOS 17