So this creates the debug/release frameworks in fo...
# kotlin-native
m
So this creates the debug/release frameworks in folders
build/bin/iosArm64
and
build/bin/iosX64
, and then combines the debug frameworks in the folder
build/fat-framework/debug
. The file then contains both architectures:
Copy code
$ file SharedCode
SharedCode: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
SharedCode (for architecture x86_64):    Mach-O 64-bit dynamically linked shared library x86_64
SharedCode (for architecture arm64):     Mach-O 64-bit dynamically linked shared library arm64
It’s not perfect yet, because I still need to copy over the release framework from the iosArm64 folder manually, but maybe it’ll work.