Does the terminate command kill the app in XCUIApplication

Apple Recommended

Replies

I am experiencing this same behavior under iOS 17.0. It works under 16.4.

I tested this on three Simulator configurations

iPhone 8+ 16.4 : terminate() works as expected

iPhone 14 Pro 16.4 iPhone 15 Pro 17.0 terminate() suspends the app instead of terminating it.