Fix default toolchain path for swift libraries to use 5.0
This commit is contained in:
committed by
Pavel Punegov
parent
d7ca5bea71
commit
12c7725cc0
@@ -115,7 +115,7 @@ open class FrameworkTest : DefaultTask() {
|
||||
}
|
||||
// Use default path from toolchain if we cannot get `bundlePath` for target.
|
||||
// It may be the case for simulators if Xcode/macOS is old.
|
||||
return simulatorPath ?: configs.absoluteTargetToolchain + "/usr/lib/swift/$swiftPlatform"
|
||||
return simulatorPath ?: configs.absoluteTargetToolchain + "/usr/lib/swift-5.0/$swiftPlatform"
|
||||
}
|
||||
|
||||
private fun buildEnvironment(): Map<String, String> {
|
||||
|
||||
Reference in New Issue
Block a user