@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'
Post
Replies
Boosts
Views
Activity
@tos666 Can you direct me where i should add this script . I am badly stuck in solving the issue i am getting
Failed to build module from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced