Using Firebase via SPM, facing an armv7 error on archive

I was recommended by those at firebase to post here, given that the bug I'm facing may be due to Xcode/SPM. I'll link the issue here but in short, I'm using firebase in SPM, and when I archive my app (10K lines of code, not a giant app by any means) for MacCatalyst, I face no issues. When I select archive for 'Any iOS device (arm64)' I get the error scattered reloc r_address too large for architecture armv7.

I'm using Xcode 12.3 on an M1 MacBook Air, but I've tried archiving the same project on Xcode 12.2 and on an Intel MacBook Pro but the same issue arose.


A small update: choosing my phone as a run destination (iPhone 11 Pro) rather than 'Any iOS device (arm64)' then archiving succeeds

Terms of Service

Privacy Policy

Cookie Policy