Konstantin Petrukhnov
09/23/2019, 7:46 AM*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Only one Kotlin framework can be loaded currently'
*** First throw call stack:
Any suggestion how to fix it? App runs fine, only tests are failing. And tests were working before without any problem.olonho
09/23/2019, 8:17 AMKonstantin Petrukhnov
09/23/2019, 8:57 AMKris Wong
09/23/2019, 1:06 PMArtyom Degtyarev [JB]
09/23/2019, 1:22 PMFatFrameworkTask
? If so, you can somehow specify isStatic
parameter for every native target with a binary of “framework” type e.g.
kotlin {
targets.withType<KotlinNativeTarget> {
binaries.withType<Framework> {
isStatic = false
}
}
}
Kris Wong
09/23/2019, 1:55 PMtargets {
configure([ios, iosArm32, iosArm64]) {
binaries.framework {
baseName = "$ios_framework_name"
}
}
}
Konstantin Petrukhnov
09/24/2019, 4:26 AMMach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64]
(for architecture x86_64): current ar archive random library
(for architecture arm64): current ar archive random library
Artyom Degtyarev [JB]
09/24/2019, 8:11 AMKonstantin Petrukhnov
09/24/2019, 8:30 AM