mein generierendes xcframework:
Code: Select all
xcodebuild archive -workspace ExampleSDK.xcworkspace -scheme ExampleSDK -configuration Release -destination 'generic/platform=iOS' -archivePath './build/ExampleSDK.framework-iphoneos.xcarchive' SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
xcodebuild archive -workspace ExampleSDK.xcworkspace -scheme ExampleSDK -configuration Release -destination 'generic/platform=iOS Simulator' -archivePath './build/ExampleSDK.framework-iphonesimulator.xcarchive' SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES
xcodebuild -create-xcframework -framework './build/ExampleSDK.framework-iphonesimulator.xcarchive/Products/Library/Frameworks/ExampleSDK.framework' -framework './build/ExampleSDK.framework-iphoneos.xcarchive/Products/Library/Frameworks/ExampleSDK.framework' -output './build/ExampleSDK.xcframework'