Skip to content

Commit

Permalink
Merge branch 'develop' into feature/ios-device-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk committed Oct 17, 2024
2 parents 4ec5ebd + 56693c9 commit 2074a45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2074a45

Please sign in to comment.