I'm trying to generate xcframework file from the MyFramework.framework file.
I'm running the following command:
xcodebuild -create-xcframework -framework "MyFramework.framework" -output "MyFramework.xcframework"
After that I get this error:
error: binaries with multiple platforms are not supported '/Users/nicco/myFramework/MyFramework.framework/MyFramework'
What is the problem with it? Thank you!
This command does not support multi-platform binaries. You should create an archive for each platform.
Create an archive of the framework or library for each platform you wish to support.
https://help.apple.com/xcode/mac/11.4/#/dev544efab96
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With