I have inherited an old project with some old CocoaPods dependencies that do no support arm64 devices. So when I go to import the module (whether it be pods or using Swift Package Manager) ... i.e.
import Module
I get the error:
(Compile swift source files (arm64), No such module 'Module' found)
I know that there are past questions and answers for building/testing on a simulator and changing the build settings/valid archs/excluded archs) but I am actually trying to get to this to work on a device that has 64-bit architecture. The machine that I am working on is still Intel (not M1).
If the CocoaPods library or Swift package doesn't include support for 64-bit, what workarounds are there (if any)?
It also looks like on Xcode 14.2 (macOS Monterey 12.6.3) that the option of opening Xcode using Rosetta is no where to be found. Excluding certain archs in build settings and all other past solutions appear to not work.
Anyone have any suggestions?