Fastlane plugin that creates xcframework for given list of destinations 🚀
- Xcode 11.x or greater. Download it at the Apple Developer - Downloads or the Mac App Store.
- fastlane
To get started with create_xcframework
plugin, add it to your project by running:
$ fastlane add_plugin create_xcframework
create_xcframework(
workspace: 'path/to/your.xcworkspace',
scheme: 'framework scheme',
product_name: 'Sample', # optional if scheme doesnt match the name of your framework
destinations: ['iOS', 'maccatalyst'],
xcframework_output_directory: 'path/to/your/output dir'
)
Run
$ fastlane actions create_xcframework
to learn more about the plugin.
- iOS
- iPadOS
- maccatalyst
- tvOS
- watchOS
- carPlayOS
- macOS
- xcframework
- dSYMs dir
- BCSymbolMaps dir (if bitcode is enabled)
- XCFRAMEWORK_OUTPUT_PATH
- XCFRAMEWORK_DSYM_OUTPUT_PATH
- XCFRAMEWORK_BCSYMBOLMAPS_OUTPUT_PATH
- If you want to contribute, read the Contributing Guide