https://kotlinlang.org logo
#juul-libraries
Title
# juul-libraries
f

Francis Mariano

10/01/2021, 7:07 PM
I am here again 😀 Hope all you are fine!!!! I wonder why kable does not works with :
Copy code
val iosTarget: (String, KotlinNativeTarget.() -> Unit) -> KotlinNativeTarget = when {
    System.getenv("SDK_NAME")?.startsWith("iphoneos") == true -> ::iosArm64
    else -> ::iosX64
}

iosTarget("ios") {
    binaries {
        framework {
            baseName = "shared"
        }
    }
}
t

travis

10/01/2021, 7:09 PM
Admittedly, I have not done much testing w/ Kable on iOS lately (done most of the testing on OS X). What is the failure you're seeing?
f

Francis Mariano

10/01/2021, 7:13 PM
The gradle syncs with success when I replace the code above by:
Copy code
ios {
    binaries {
        framework {
            baseName = "shared"
        }
    }
}
Sorry, the problem is not with Kable library.
For curiosity, I described the problem here https://kotlinlang.slack.com/archives/C3PQML5NU/p1633117308274600
t

travis

10/02/2021, 12:00 AM
Glad you got it figured out, and thanks for following up with the solution. 👍
2 Views