I’ve seen a similar issue on the M1 beta. It doesn’t hang 100% of the time, but when it does, it’s after these two lines:
▸ Running script ‘[CP] Embed Pods Frameworks’
▸ Running script ‘[CP] Copy Pods Resources’
Since it’s pretty reliably reproducible for us, I was able to enable remote access and run sudo dmesg while it was hung. I did get a GPU hang as referenced above; here’s the full report if that’s helpful: