Is anyone able to create both arm64 and x64 for iO...
# multiplatform
s
Is anyone able to create both arm64 and x64 for iOS using cocoapods? I don't know what i'm doing wrong but i can't seem to provide a framework to cocoapods with both architectures...
s
You need to use the lipo tool to combine them. The catch is that when archiving the app for upload the x64 portion of the framework needs to be removed with lipo again. Otherwise the app will be rejected.
s
thank you for the insight! Do you know where i can find a tutorial for using the lipo tool in a kotlin mpp environment?
j
s
thank you very much! 🙂
I can't seem to access classes in my kotlin lib when using this gradle plugin, but it does generate the right architectures though 🤔
l
I have the same issue for accessing classes, check this issue https://github.com/AlecStrong/kotlin-native-cocoapods/issues/14