Fat frameworks: Use absolute path to lipo

This commit is contained in:
Ilya Matveev
2019-03-21 15:48:57 +07:00
parent 1f94224b52
commit 07c3ed5bd1
@@ -202,7 +202,7 @@ open class FatFrameworkTask: DefaultTask() {
private fun runLipo(inputFiles: Map<Architecture, File>, outputFile: File) =
project.exec {
it.executable = "lipo"
it.executable = "/usr/bin/lipo"
it.args = mutableListOf("-create").apply {
inputFiles.forEach { (arch, binary) ->
addAll(listOf("-arch", arch.lipoArg, binary.absolutePath))