Using the IL2CPP settings with the standard -Os optimisation setting for Release builds causes XCode to hang while it’s generating an Archive. The only solution to this has been to modify the optimisation setting to -O0.
However, the build size then bloats 50%, from 40MB to 56MB.
We have built other projects using IL2CPP and keeping the optimisation at -Os, so I’m wondering if there is anyway to determine what code may be causing the hang / dead loop?
Unlike other projects we have built, this game uses tk2d. I’ve written to Tk2D and they confirm they have no known issues with IL2CPP support.