No device target ID with capacitor run ios --list

Hi,

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.

Ionic info:

Ionic:

   Ionic CLI                     : 6.18.1 (/Users/sbj/.nvm/versions/node/v14.15.1/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 6.0.5
   @angular-devkit/build-angular : 13.0.4
   @angular-devkit/schematics    : 13.0.4
   @angular/cli                  : 13.0.4
   @ionic/angular-toolkit        : 5.0.3

Capacitor:

   Capacitor CLI      : 3.4.0
   @capacitor/android : not installed
   @capacitor/core    : 3.4.0
   @capacitor/ios     : 3.4.1

Utility:

   cordova-res (update available: 0.15.4) : 0.15.3
   native-run                             : 1.5.0

System:

   NodeJS : v16.13.2 (/Users/sbj/.nvm/versions/node/v16.13.2/bin/node)
   npm    : 8.1.2
   OS     : macOS Monterey