Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Intermittent Screen Lock During Appium Tests on iOS 18 Simulator

I am running Appium tests on an iOS 18 simulator, and I am encountering an intermittent issue where the device screen gets locked unexpectedly during the tests. The Appium logs show no errors or unusual activity, and all commands appear to be executed successfully.

However, upon reviewing the device logs, I see entries related to the lock event, but the exact cause remains unclear.

SpringBoard: (SpringBoard) [com.apple.SpringBoard:Common] lockUIFromSource:Boot options:{
    SBUILockOptionsLockAutomaticallyKey: 1,
    SBUILockOptionsForceLockKey: 1,
    SBUILockOptionsUseScreenOffModeKey: 0
}
SpringBoard: (SpringBoard) [com.apple.SpringBoard:Common] -[SBTelephonyManager inCall] 0
SpringBoard: (SpringBoard) [com.apple.SpringBoard:Common] LockUI from source: Now locking

Has anyone experienced similar behavior with Appium on iOS 18, or could there be a setting or configuration in the simulator that is causing this issue?

Intermittent Screen Lock During Appium Tests on iOS 18 Simulator
 
 
Q