@edford Ok I will go through the given documentation link But the following is the xcodebuild command which i use to build my xcframework
-scheme FrameworkName \
-configuration Release \
-destination 'generic/platform=iOS' \
-archivePath './build/FrameworkName.framework-iphoneos.xcarchive' \
SKIP_INSTALL=NO \
BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
xcodebuild archive \ -scheme FrameworkName \ -configuration Release \ -destination 'generic/platform=iOS Simulator' \ -archivePath './build/FrameworkName.framework-iphonesimulator.xcarchive' \ SKIP_INSTALL=NO \ BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
xcodebuild -create-xcframework \ -framework './build/FrameworkName.framework-iphonesimulator.xcarchive/Products/Library/Frameworks/FrameworkName.framework' \ -framework './build/FrameworkName.framework-iphoneos.xcarchive/Products/Library/Frameworks/FrameworkName.framework' \ -output './build/FrameworkName.xcframework'
Topic:
Programming Languages
SubTopic:
Swift
Tags: