I use XCode versions 14.2 and 14.3 on my M1 Mac with Ventura 13.3.1 and switch between them with the Xcodes app.
When version 14.2 is active i can see the connected iOS device (iOS version 16.4.1).
As soon as i switch to version 14.3 that device is not listed anymore and therefore i also cannot target it for a deployment. Interesting is that i see that iOS device when opening XCode 14.3 and i even can deploy my Flutter app to that device within XCode.
Devices with older iOS versions (i.e. 15.7.x) are listed without any problems when using XCode 14.3.
I get the following error when calling arch -arm64e xcrun xcdevice list --timeout 2
with XCode 14.3 enabled:
xcdevice[1473:15359] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
With XCode 14.2 this error doesn't show up and the iOS device with iOS Version 16.4.1 is listed.
The 16.4 simulators are listed but a deployment of the app fails with the same mentioned error.
Is this a known issue or what can i do to make this work when using XCode 14.3? xcrun versions are 64 (XCode 14.3) and 61 (XCode 14.2).