Skip to content

Github Action to create XCFramework for Swift package.

Notifications You must be signed in to change notification settings

kushCT/spm-create-xcframework

 
 

Repository files navigation

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/spm-create-xcframework@v1.0.0

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

About

Github Action to create XCFramework for Swift package.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 81.1%
  • JavaScript 18.9%