From af558d311886654e3efd723cf7534e5900d9118b Mon Sep 17 00:00:00 2001 From: Danil Mironov Date: Thu, 10 Oct 2024 12:53:51 +0200 Subject: [PATCH 1/2] fix/preferredScreenCaptureFormat-naming (#976) Co-authored-by: Danil Mironov --- .../com/malinskiy/marathon/apple/xctestrun/v2/TestTarget.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/xctestrun/v2/TestTarget.kt b/vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/xctestrun/v2/TestTarget.kt index f9ab258e1..49b355c4d 100644 --- a/vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/xctestrun/v2/TestTarget.kt +++ b/vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/xctestrun/v2/TestTarget.kt @@ -279,5 +279,5 @@ class TestTarget : TestTarget { * Added in xcode 15, possible values are [screenshots, screenRecording]. Defaults to screenRecording * Ignored by previous versions of xcode */ - var preferredScreenCaptureFormat: String? by delegate.optionalDelegateFor("preferredScreenCaptureFormat") + var preferredScreenCaptureFormat: String? by delegate.optionalDelegateFor("PreferredScreenCaptureFormat") } From 56693c9822932e4365e75a1be44d8a6607b72fbe Mon Sep 17 00:00:00 2001 From: Danil Mironov Date: Fri, 11 Oct 2024 03:12:24 +0200 Subject: [PATCH 2/2] fix(ios)/supportsTranscoding-requirement-weakened (#977) Co-authored-by: Danil Mironov Co-authored-by: Anton Malinskiy --- .../com/malinskiy/marathon/apple/ios/AppleSimulatorDevice.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/vendor-apple/ios/src/main/kotlin/com/malinskiy/marathon/apple/ios/AppleSimulatorDevice.kt b/vendor/vendor-apple/ios/src/main/kotlin/com/malinskiy/marathon/apple/ios/AppleSimulatorDevice.kt index 8028b9ae4..b0a6e2656 100644 --- a/vendor/vendor-apple/ios/src/main/kotlin/com/malinskiy/marathon/apple/ios/AppleSimulatorDevice.kt +++ b/vendor/vendor-apple/ios/src/main/kotlin/com/malinskiy/marathon/apple/ios/AppleSimulatorDevice.kt @@ -190,7 +190,8 @@ class AppleSimulatorDevice( deviceFeatures = detectFeatures() - supportsTranscoding = executeWorkerCommand(listOf(vendorConfiguration.screenRecordConfiguration.videoConfiguration.transcoding.binary, "-version"))?.let { + val transcodingVideoConfiguration = vendorConfiguration.screenRecordConfiguration.videoConfiguration.transcoding + supportsTranscoding = transcodingVideoConfiguration.enabled && executeWorkerCommand(listOf(transcodingVideoConfiguration.binary, "-version"))?.let { if (it.successful) { true } else {