MY GAME IS CRASHING USING XCODE AND I DONT KNO HOW TO FIX

I built a game using unity 2019.4.12f I used the iOS build method and it imported to Xcode which is ok then I tested it via iPhone 11 MAX PRO it works fine but in the middle of the game it crashes when I check the debugger is shows an error which i will post as a image and then the debug navigator shows the crash happened because the memory went over 2GB (energy impact very high) but the cpu fluctuated a lot and when the crash happens the cpu was a 31% the original size of the build was 21.3GB i worked my way down to making is as small as 3.8GB BUT THIS CRASH IS A PAIN AND NO IM A LITTLE FLUSTERED 😫…WHAT IS THE BEST METHOD TO SOLVING THIS ISSUE.

one of my solutions where : drop the file size even more so it would have less to process (would this work)

Unity is not a framework of Apple's. You may get a better chance to receive better responses sooner if you visit the supporting site or a community site of Unity.

but it was deployed to the phone from Xcode, so does that mean the issue is coming from unity?

the issue is coming from unity? > It may be or may not be. Better find the right place and you would get the right answer sooner.

MY GAME IS CRASHING USING XCODE AND I DONT KNO HOW TO FIX
 
 
Q