diff --git a/build/run_tests.py b/build/run_tests.py index 9079da40..45b3372d 100755 --- a/build/run_tests.py +++ b/build/run_tests.py @@ -347,6 +347,7 @@ def _RunOnIOSTarget(binary_dir, test, is_xcuitest=False, gtest_filter=None): target_app_path = os.path.join(test_path, test + '.app') module_data = { 'IsUITestBundle': True, + 'SystemAttachmentLifetime': 'deleteOnSuccess', 'IsXCTRunnerHostedTestBundle': True, 'TestBundlePath': bundle_path, 'TestHostPath': runner_path, @@ -372,7 +373,7 @@ def _RunOnIOSTarget(binary_dir, test, is_xcuitest=False, gtest_filter=None): print(xctestrun_path) command = [ 'xcodebuild', 'test-without-building', '-xctestrun', xctestrun_path, - '-destination', 'platform=iOS Simulator,OS=15.5,name=iPhone 13', + '-destination', 'platform=iOS Simulator,OS=17.4,name=iPhone 15', ] with open(xctestrun_path, 'wb') as fp: if is_xcuitest: