I’m currently using cinterop on a project. I have ...
# kotlin-native
l
I’m currently using cinterop on a project. I have the .def file set up for the OSs and architectures that I need for devices, but I’m wanting to set up an Arm64 simulator now for M1 Mac. Is there a list of the names supported for identifying OS and architecture (such as android_arm32, android_x64, ios_arm64, etc)? I can’t seem to find the name that matches iosSimulatorArm64.
Example line in the .def:
Copy code
compilerOpts.ios_x64 = -I../prebuilts/iosX64/include
a
I guess this should be the correct one:
ios_simulator_arm64
. Borrowed from https://github.com/JetBrains/kotlin/blob/master/native/utils/src/org/jetbrains/kotlin/konan/target/KonanTarget.kt, as the suffix in the def file should probably be the same as in the target name.