[4.21] Mobile crash on older devices

I am now fairly certain that this is the cause of the stoppage:


error    17:28:19.357965 +1200    PoppyAndBuddy419    Execution of the command buffer was aborted due to an error during execution. <private>

I have undone as many changes since the last working build as I can think of. Does anyone know what might be causing it, or how to debug it?

I’m having a problem with debugging too. When I try to build in XCode a lot of settings aren’t set up properly. I did eventually get it building but it says that the application name is invalid and must be set, but it IS set up. I’m unable to manually or automatically select a provisioning profile for iOS either, the project thinks its for making a MacOS app. Any help in getting the debugger working with a running mobile app, or even a simulator, would be appreciated.

This is the build error:

These are the build settings:

And here is the General tab showing MacOS as the only deployment target: