HomeiOS DevelopmentXCUITest uninstall stalls with iOS 26

XCUITest uninstall stalls with iOS 26


I had some code arrange in some XCUITest to uninstall the app earlier than beginning it once more to ensure it’s in a clear state.

That code appears to be like like:

let app = XCUIApplication()
app.launch()
app.terminate()

let springboardApp = XCUIApplication(bundleIdentifier: "com.apple.springboard")
springboardApp.icons["Sample"].firstMatch.press(forDuration: 1.2)
springboardApp.buttons["com.apple.springboardhome.application-shortcut-item.remove-app"].firstMatch.faucet()
springboardApp.buttons["Delete App"].firstMatch.faucet()
springboardApp.buttons["Delete"].firstMatch.faucet()

Now with Xcode 26/ iOS 26 (additionally tried beta 26.1) the check stalls for a complete minute and typically fail on the display screen proven beneath.
Within the console I see, so i do know it isn’t caught looking for the Take away Button

    t =     6.80s     Anticipate com.apple.springboard to idle
    t =    66.83s App animations full notification not acquired, will try and proceed.

XCUITest uninstall stalls with iOS 26

Any concept the right way to remedy this?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments