Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.05 KB

spm-create-xcframework

Github Action to create XCFramework for Swift package product. Right now the action only supports dynamic frameworks (it will add/overwrite the product type to be .dynamic in the Package.swift file.

Example:

.github/workflows/create_xcframework.yml

name: Create XCFramework

# Create XCFramework when a new tag is pushed
on:
  push:
    tags:

jobs:
  create_xcframework:
    name: Create XCFramework
    runs-on: macos-latest
    steps:

      - uses: actions/checkout@v2

      - name: Create XCFramework
        uses: mohamed-3amer/[email protected]

Action Inputs

  • target: The product name you want to create an XCFramework for.
  • zip-version: The version number to append to the name of the zip file.
  • output-path: A path where to save the output files locally for later usage.

Contributing

Please read the Contribution Guide for details on how to contribute to this project.

References