I'm looking for a way to retrieve via the xcrun simctl command line the screen resolution of the devices.
I'v tried to list device types with xcrun simctl list -j devicetypes but unfortunately the resolution is not stored there...
Any idea?
I'm looking for a way to retrieve via the xcrun simctl command line the screen resolution of the devices.
I'v tried to list device types with xcrun simctl list -j devicetypes but unfortunately the resolution is not stored there...
Any idea?
I found a way by digging, thanks to CodeBender solution, with
xcrun simctl ioUse it this way (where the UDID is the device you want):
It returns instantly this: