Closed mattmook closed 2 years ago
Attached a sample that shows the issue... orbit-mvi-kswift.zip
Run with ./gradlew linkDebugFrameworkIosX64 --info
and observe the exception above.
Comment out atomicfu dependency in build.gradle.kts, rerun and observe the exception goes away
try to exclude library for now -
kswift {
excludeLibrary("atomicfu")
}
I'm running into this exact problem in our codebase and it still doesn't seem to build with the excludeLibrary statement. It seems atomicfu is still processed and the failure causes our frameworks to not build. I think excludeLibrary doesn't prevent processing the library?
will be available in 0.4.0
I am still having problems with atomicfu, unable to export cinterop
Not really a kswift issue but thought I worth raise it so it can be noted in kswift's readme to save someone else some time
Basically, if your project uses AtomicFu (I'm using the latest, v0.16.2) then the below exception occurs. Sample app attached below.
Error only shows with --info flag.