Monorepo for Gini iOS SDKs
To manually generate SBOM JSONs for our Swift Packages you need to do the following steps:
- Make sure you have node 21+ available in your terminal.
- Run fastlane with the
generate_sboms
lane and pass in the release repo urls of the Swift Packages and the repo (GitHub) credentials.
You can find the release repo url in the package's release workflow in the.github/workflows
folder. For example for the Health SDK the release workflow is located at.github/workflows/health-sdk.release.yml
.
!!IMPORTANT!!: always setci
tofalse
, otherwise your git user and email will be overriden in your git configuration.
For example for Health SDK you should execute the following command in your terminal:bundle exec fastlane generate_sboms \ swift_package_repo_urls:"https://github.com/gini/health-sdk-ios.git, https://github.com/gini/health-sdk-pinning-ios.git" \ repo_user:"GitHub user" repo_password:"GitHub password" \ ci:"false"
- The SBOM JSONs will be located at
fastlane/sbom-jsons.zip