The Package.swift
and Sources
files are automatically generated via a script, which is set to run in a scheduled cron job via Github Actions.
The script performs the following actions:
- Downloads the latest release from https://github.com/firebase/firebase-ios-sdk
- Parses the Firebase.zip to generate Package.swift and Sources/
- Commits changes on a new branch and creates a PR
- Creates a draft release, with a tag that mirrors the Firebase release. The draft release includes the assets needed for the swift package
- Install github cli:
$ brew install gh
- Generate the swift package:
$ cd .scripts && sh package.sh debug skip-release
There is an iOS Example project that can be used to test that the Package is working as expected.
- Open the
iOS Example.xcworkspace
- Build and run in XCode
- Examples currently available for testing:
- Firestore
- In App Messaging
- Google Sign In
- Examples currently available for testing:
Any and all input is welcome, including:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Questions, criticisms, concerns, etc.
- Fork the repo and create your branch from
main
. - Make your code changes.
- Update the README documentation if needed.
- Create the pull request.
Report a bug by opening a new issue. Include steps to reproduce the error (and if possible sample code is always appreciated). To help with reproducing and testing issues there is an example project included in this repo: https://github.com/afresh-technologies/firebase-ios-sdk-xcframeworks/tree/main/iOS%20Example
By contributing, you agree that your contributions will be licensed under the project's MIT License.