From fefca6882abaf3e51c03f5eea0ffec3b889cd26e Mon Sep 17 00:00:00 2001 From: Danil Mironov Date: Thu, 10 Oct 2024 14:28:40 +0200 Subject: [PATCH] fix(ios)/supportsTranscoding-requirement-weakened --- .../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 {