Trying to build for IOS 5.1 apple M1 Pro

I have my provisioning profile and certificate set up properly and am able to build on XCode however the output just scrolls and scrolls and outputs a huge long output that doesn’t end.

Just had the same issue. It’s some weird memory issue. Editi the Defaulteditor.ini File for your project and add:

[CookSettings]
MemoryMinFreePhysical=256
MemoryMinFreeVirtual=256

that should allow it to cook.