Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.53 KB

File metadata and controls

65 lines (46 loc) · 1.53 KB

create_xcframework plugin

fastlane Plugin Badge

About create_xcframework

Fastlane plugin that creates xcframework for given list of destinations 🚀

Requirements

Getting Started

To get started with create_xcframework plugin, add it to your project by running:

$ fastlane add_plugin create_xcframework

Usage

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.

Supported destinations

  • iOS
  • iPadOS
  • maccatalyst
  • tvOS
  • watchOS
  • carPlayOS
  • macOS

Output

Files:

  • xcframework
  • dSYMs dir
  • BCSymbolMaps dir (if bitcode is enabled)

Env vars:

  • XCFRAMEWORK_OUTPUT_PATH
  • XCFRAMEWORK_DSYM_OUTPUT_PATH
  • XCFRAMEWORK_BCSYMBOLMAPS_OUTPUT_PATH

Contribution