Hello,
We have multiple iOS real devices attached to a Mac mini which serve as a server in a CI pipeline. From iOS 15 after a few hours, the phone requires the pin code, even if the UI automation is enabled and the pin was set at the first run.
A few mentions:
We need to have a pin set because the app under test needs a pin for security reasons
We set the display to never sleep because we cannot unlock the phone through the automation script
For automation, we're using Appium (https://github.com/appium/appium)
My question is, how can we handle the case without unlocking manual the phone considering that we're using the devices in a CI pipeline?