iOS x86_64 libs required for simulator build
For Android, there exists the x86_64 libs that allow us to create a version that will run in the simulator. However, the equivalent libraries for iOS seem to be missing and so we can't make iOS simulator builds.
Hello @cfa-tactic-dave, I will try to make a build for the iOS simulator. I am currently busy with the WebGL target libraries. I will tackle this issue later.
@gindemit thanks so much for making this plugin! it works very well though I also can't seem to make iOS simulator builds. hoping that it will come soon 😊
Hello @cfa-tactic-dave, I will try to make a build for the iOS simulator. I am currently busy with the WebGL target libraries. I will tackle this issue later.
Waiting for fix of iOS.
Someone here found a workaround way or solved it ?
Hi! I am sorry for the long delay! Can someone from the thread check out the latest dev branch. I added the iOS x86_64 libraries.
You can paste this to manifest.json file in the Packages/ folder:
"com.gindemit.rlottie": "https://github.com/gindemit/unity-rlottie.git?path=/unity/RLottieUnity/Assets/LottiePlugin/#0.5.0-dev-ios-emulator",
I have checked this but didn't worked for me.
@mianumar - can you please share some details? It does not build? Or it crashes in runtime? Can you please share error messages?
I tried this today and it also failed for me. Here is the error:
Multiple errors: archive member '/' not a mach-o file in '/Users/davidbennett/Projects/Chick-fil-a-Mobile/Builds/CFA Play/Libraries/com.gindemit.rlottie/Plugins/WebGL/libLottiePlugin.a'; archive member '/' not a mach-o file in '/Users/davidbennett/Projects/Chick-fil-a-Mobile/Builds/CFA Play/Libraries/com.gindemit.rlottie/Plugins/WebGL/librlottie.a'
This is a strange error because I wouldn't expect the WebGL libraries to be involved in a simulator build for iOS. I checked and both of these libraries are marked as "Any Platform" in version 0.4.3 which is probably the issue.
Hi @daveb-tactic, thanks a lot for checking it out. I just fixed the problem with the import settings for the WebGL platform. Can you please try out the 0.4.4 version?
I just noticed that you updated to 0.4.4. I tried this out and the simulator build is working. Thanks very much! I am the original instigator of this issue (as "cfa-tactic-dave") and I think this issue can be closed.