diff --git a/maestro-ios-driver/src/main/resources/driver-iPhoneSimulator/maestro-driver-ios-config.xctestrun b/maestro-ios-driver/src/main/resources/driver-iPhoneSimulator/maestro-driver-ios-config.xctestrun index 1a72105f0e..03cfc40c9c 100644 --- a/maestro-ios-driver/src/main/resources/driver-iPhoneSimulator/maestro-driver-ios-config.xctestrun +++ b/maestro-ios-driver/src/main/resources/driver-iPhoneSimulator/maestro-driver-ios-config.xctestrun @@ -78,7 +78,7 @@ ViewHierarchyHandlerTests/testViewHierarchyHandlerReturnsNonEmptyHierarchy() SystemAttachmentLifetime - deleteOnSuccess + keepNever TestBundlePath __TESTHOST__/PlugIns/maestro-driver-iosUITests.xctest TestHostBundleIdentifier @@ -136,7 +136,7 @@ UITargetAppPerformanceAntipatternCheckerEnabled UserAttachmentLifetime - deleteOnSuccess + keepNever diff --git a/maestro-ios-driver/src/main/resources/driver-iphoneos/maestro-driver-ios-config.xctestrun b/maestro-ios-driver/src/main/resources/driver-iphoneos/maestro-driver-ios-config.xctestrun index 4fd926712e..95b4a778f6 100644 --- a/maestro-ios-driver/src/main/resources/driver-iphoneos/maestro-driver-ios-config.xctestrun +++ b/maestro-ios-driver/src/main/resources/driver-iphoneos/maestro-driver-ios-config.xctestrun @@ -66,7 +66,7 @@ ViewHierarchyHandlerTests/testViewHierarchyHandlerReturnsNonEmptyHierarchy() SystemAttachmentLifetime - deleteOnSuccess + keepNever TestBundlePath __TESTHOST__/PlugIns/maestro-driver-iosUITests.xctest TestHostBundleIdentifier @@ -98,7 +98,7 @@ UITargetAppPath __TESTROOT__/Debug-iphoneos/maestro-driver-ios.app UserAttachmentLifetime - deleteOnSuccess + keepNever diff --git a/maestro-ios-xctest-runner/maestro-driver-ios.xcodeproj/xcshareddata/xcschemes/maestro-driver-ios.xcscheme b/maestro-ios-xctest-runner/maestro-driver-ios.xcodeproj/xcshareddata/xcschemes/maestro-driver-ios.xcscheme index 438a99b961..156383a802 100644 --- a/maestro-ios-xctest-runner/maestro-driver-ios.xcodeproj/xcshareddata/xcschemes/maestro-driver-ios.xcscheme +++ b/maestro-ios-xctest-runner/maestro-driver-ios.xcodeproj/xcshareddata/xcschemes/maestro-driver-ios.xcscheme @@ -22,11 +22,20 @@ + + shouldUseLaunchSchemeArgsEnv = "YES" + systemAttachmentLifetime = "keepNever" + userAttachmentLifetime = "keepNever">