Peter Tran
11/13/2024, 8:36 AM: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?Peter Tran
11/13/2024, 9:14 AMiosApp/iosApp.xcodeproject
?Dennis
11/13/2024, 9:43 AMPeter Tran
11/13/2024, 4:09 PMPeter Tran
11/13/2024, 4:09 PMPeter Tran
11/13/2024, 4:09 PMPeter Tran
11/13/2024, 4:11 PMCustom.framework did not have a CFBundleIdentifier in its Info.plist
Peter Tran
11/13/2024, 9:30 PMInfo.plist
has a proper CFBundleIdentifier
I am using my own custom obj-c framework, if you're using a third-party framework then most likely CFBundleIdnetifier
is already set properly.Dennis
11/14/2024, 7:39 AM