Closed nhachicha closed 3 years ago
I ran into this. It means that if you just do
cd examples/kmm-sample
./gradlew assemble
It will fail with the
> Task :shared:linkReleaseFrameworkIosArm64
w: duplicate library name: io.realm.kotlin:cinterop-cinterop-realm_wrapper
e: Compilation failed: null
* Source files:
* Compiler version info: Konan: 1.4.30 / Kotlin: 1.4.30
* Output kind: FRAMEWORK
e: java.lang.NullPointerException
Using
./gradlew assembleDebug
Will work.
➤ Nabil Hachicha commented:
Currently
capiMacosUniversal
andcapiIosArm64
tasks are using debug Monorepo buildsmaybe we can use
To figure out if XCode is trying to use the build phase script (which runs the Gradle {{packForXcode }} task) to build a Release framework. This is generally set via the
CONFIGURATION
flag from XCode