Thanks for the prompt reply. In order to generate the XCFramework for the static library, we generated 2 binaries, one with arm64, armv7 architectures (Device), and one with x86_64, arm64 architecture (Simulator), when we run the 'xcodebuild -create-xcframework' command and pass these two binaries, we are prompted with the following error related to the Simulator binary:
'error: binaries with multiple platforms are not supported'
We are building the Simulator binary using clang and passing the following options:
arch arm64 -isysroot iPhoneSimulator14.2.sdk -miphoneos-version-min=9.0 -fembed-bitcode
Our question is whether or not this seems like the right approach to properly build an arm64 Simulator binary in order to avoid the above error where xcodebuild doesn't recognize that the arm64 arch should be for Simulator platform? Thanks.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: