My use case is to run UI automation on ios device in lab. To do that I have a iOS device connected to Mac. and My goal is to
- Run periodic UI automation on device
- Control iOS device via Mac
To control the device, I enabled iphone mirroring (support added in MacOS 15 and ios 18.0 onwards) but for this device has to be locked. When I keep the iOS device locked, the APP UI contents are not available to Xcode. How to solve this? If I disable the mirroring, Xcode is able to read App content, but I can't control the device via Mac.