xcodebuild error "binaries with multiple platforms are not supported" while generating xcframework library

Viewed 2616

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!

1 Answers
Related