While creating XCFramework, I'm getting the below-mentioned message on the terminal and xcframework is not getting generated
A library with the identifier "ios-armv7_arm64" already exists.
This is the command that I'm running
xcodebuild -create-xcframework \
-framework ./archives/My-iOS.xcarchive/Products/Library/Frameworks/My.framework \
-framework ./archives/My-iOS-Simulator.xcarchive/Products/Library/Frameworks/My.framework \
-output My.xcframework
Is there anything that I'm missing?