Skip to content

Commit 07a5883

Browse files
committed
fix(apple): fix iOS vendor
1 parent 48adc9a commit 07a5883

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/XCTestParser.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import kotlin.io.path.outputStream
2222

2323
class XCTestParser<T: AppleDevice>(
2424
private val configuration: Configuration,
25-
private val vendorConfiguration: VendorConfiguration.MacosConfiguration,
25+
private val vendorConfiguration: VendorConfiguration,
2626
private val testBundleIdentifier: AppleTestBundleIdentifier,
2727
private val applicationInstaller: AppleApplicationInstaller<T>,
2828
) : RemoteTestParser<DeviceProvider>, LineListener {

vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/bin/xcrun/xcodebuild/Xcodebuild.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Xcodebuild(
2727
put("-enableCodeCoverage", codeCoverageFlag(request))
2828
request.xcresult?.let { put("-resultBundlePath", it) }
2929
put("-destination-timeout", timeoutConfiguration.testDestination.seconds.toString())
30-
put("-destination", "\'platform=${sdk.destination},arch=arm64,id=$udid\'")
30+
put("-destination", "\'platform=${sdk.destination},id=$udid\'")
3131
}
3232
.filterKeys { it != "-xctestrun" }
3333
.toList()

vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/cmd/remote/rsync/RsyncFileBridge.kt

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ private fun RSync.a(): RSync {
158158
.owner(true)
159159
.devices(true)
160160
.specials(true)
161+
.delete(true) //Cleans up previous runs when sharing paths
161162
}
162163

163164
private fun File.isDescendantOf(dir: File): Boolean {

0 commit comments

Comments
 (0)