Hi, I am trying to integrate an iOS framework using cinterop but it is not quite working.
In gradle I have two modules,
:composeApp
and
:shared
. And in
:shared
I use cinterops to integrate an Obj-C framework, with separate cinterops invocation for iosArm64 and iosSimulatorArm64.
The tests, i.e. commonTest, in
:shared
, successfully call expect/actual functions that exercise the Obj-C framework code. However, there is code in
:composeApp
that calls `:shared`'s expect/actual functions. It builds and runs, but fails at runtime with this error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_VersionInfo", referenced from:
in ComposeApp.framework.o
ld: symbol(s) not found for architecture arm64
Any ideas?