robovm
robovm copied to clipboard
How to link xcframework
As title, Apple release new format of framework: xcframework which contains multiple frameworks for each architecture. How to use it, newest firebase is using this format.
Running into exactly this today as I was updating to the Crashlytics beta which deprecates Fabric. I solved this by copying only the .framework folders in the ios-armv7_arm64. However it fails to compile for the simulator as it uses x86 architecture.
anyone know how to solve this? As there are multiple diff frameworks for each folder, does that mean I have to swap them out when testing on simulator compared to when releasing?
Yes, you have to swap files. Now I only test on real devices
Ok, thanks I thought it might be like that. I don't own a physical device so at the moment that makes it easy for me.
I think there is a fix in the works for the next week or so to allow these xc folders to work! Fingers crossed
There's currently no support for xcframeworks but you can use workaround described here: https://github.com/MobiVM/robovm/pull/483
support added in 2.3.19 https://github.com/MobiVM/robovm/pull/694