OK, I rebuilt Lime using these instructions: https://github.com/openfl/lime#building-from-source
When trying to build the game there was an error due to incompatible Lime and HaxeFlixel versions, although if I understood correctly the dev version should be using the version of Lime I was using? I “fixed” this by just commenting the line in FlxDefines.hx that was checking the Lime version, and was able to complete the build.
Then when I compile and try to run in the simulator, it always fails to run the game somehow (either “unable to attach to pid …”, “connection timed out”, “DTServiceHubClient failed to bless service hub for simulator …”, or it installs and tries to open the app, but doesn’t go beyond a black screen).
When it tries to run the app, the following appears in the Xcode output window:
Primitive not found : lime_legacy_byte_array_init__4
Error Null Function Pointer
So then I tried recompiling Lime with the -Dlegacy option, i.e.
lime rebuild ios -Dlegacy, but the result seems the same (
lime_legacy_byte_array_init__4 is still not found after building and running the game).