Fastlane plugin that creates xcframework for given list of destinations 🚀
archives
subfolder of your output directory and can be preserved by setting remove_xcarchives
param to false create_xcframework(
scheme: 'iOSModule',
workspace: 'XCFramework.xcworkspace',
include_dSYMs: true, // optional, default: true
include_BCSymbolMaps: true, // optional, default: true
include_debug_symbols: true, // optional, default: true, feature flag for debug symbols Xcode 12.0+
enable_bitcode: true, // optional, default: true
destinations: ['iOS', 'maccatalyst'],
xcframework_output_directory: 'Products/xcframeworks',
remove_xcarchives: true // optional, default: true. If set to false, the generated archives will be preserved in the output directory
)
Adds two new options for Xcode 12 and above:
include_bitcode
is no longer required == optional
Example:
create_xcframework(
scheme: 'iOSModule',
workspace: 'XCFramework.xcworkspace',
include_dSYMs: true, // optional, default: true
include_BCSymbolMaps: true, // optional, default: true
include_bitcode: true, // optional, default: true
destinations: ['iOS', 'maccatalyst'],
xcframework_output_directory: 'Products/xcframeworks'
)
or simplified version of the above (default) case:
create_xcframework(
scheme: 'iOSModule',
workspace: 'XCFramework.xcworkspace',
destinations: ['iOS', 'maccatalyst'],
xcframework_output_directory: 'Products/xcframeworks'
)