Comment on Xcode 13.3 build "out of memory" I upgraded Xcode to 13.1.1, still, I'm facing the same issue. Also, I tried -Onone instead of -Osize. That also didn't resolve it. Developer Tools & Services Xcode Apr ’22