When building and developing on Apple Silicon (M1/2/3 arm64 arch), I want to build the iphone-simulator openssl libraries only for arm64, but the build fails because lipo doesn't want to put the same arch into the archive more than once.
If I default to building the x86_64 version of the iphone-simulator libraries, it forces me to have to use Rosetta when running the simulators which is not ideal and I'd like to avoid.
Is there a way to build only the arm64 architecture for both the simulator builds and the non-simulator builds? Or perhaps for these all-ARM64 builds, I don't need the simulator builds to be included at all? It's not obvious the best way to proceed.
When building and developing on Apple Silicon (M1/2/3 arm64 arch), I want to build the iphone-simulator openssl libraries only for arm64, but the build fails because lipo doesn't want to put the same arch into the archive more than once.
If I default to building the x86_64 version of the iphone-simulator libraries, it forces me to have to use Rosetta when running the simulators which is not ideal and I'd like to avoid.
Is there a way to build only the arm64 architecture for both the simulator builds and the non-simulator builds? Or perhaps for these all-ARM64 builds, I don't need the simulator builds to be included at all? It's not obvious the best way to proceed.