We only use Google Tiles with Cesium in our iOS app.
On thing to note is that this issue only affected me on iOS16. My app worked on 17 just fine. If you are seeing the same thing then this is likely the same issue.
I just re-read the posts on this thread. and I now remember how I solved this.
My answer is, as mentioned in this thread…
https://community.cesium.com/t/solved-ios-apps-distributed-to-the-app-store-crash/29401
this link has more info on it
https://alyamkin.artstation.com/blog/9VEQ/ue4-ios-and-pointer-being-freed-was-not-allocated
This needs to go into your PROJECTNAME/Source directory in the PROJECTNAME.Target.cs file. You might not have this file if you have a Blueprint-only project. Then you’d have to Google how to convert your Blueprint project to a C++ project, which I think is pretty simple.
any way pop the code into your Target file and it works.
// Force ANSI allocator for game client
if(Target.Platform == UnrealTargetPlatform.IOS)
{
GlobalDefinitions.Add("FORCE_ANSI_ALLOCATOR=1");
}
Unfortunately, I don’t know what your error about not being the right architecture means.
i hope that helps.
-e