Skip to content

Commit

Permalink
fix(apple): fix iOS vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Feb 17, 2024
1 parent 48adc9a commit 07a5883
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import kotlin.io.path.outputStream

class XCTestParser<T: AppleDevice>(
private val configuration: Configuration,
private val vendorConfiguration: VendorConfiguration.MacosConfiguration,
private val vendorConfiguration: VendorConfiguration,
private val testBundleIdentifier: AppleTestBundleIdentifier,
private val applicationInstaller: AppleApplicationInstaller<T>,
) : RemoteTestParser<DeviceProvider>, LineListener {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Xcodebuild(
put("-enableCodeCoverage", codeCoverageFlag(request))
request.xcresult?.let { put("-resultBundlePath", it) }
put("-destination-timeout", timeoutConfiguration.testDestination.seconds.toString())
put("-destination", "\'platform=${sdk.destination},arch=arm64,id=$udid\'")
put("-destination", "\'platform=${sdk.destination},id=$udid\'")
}
.filterKeys { it != "-xctestrun" }
.toList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private fun RSync.a(): RSync {
.owner(true)
.devices(true)
.specials(true)
.delete(true) //Cleans up previous runs when sharing paths
}

private fun File.isDescendantOf(dir: File): Boolean {
Expand Down

0 comments on commit 07a5883

Please sign in to comment.