Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
KMMBridgeSampleKotlin aka Kotlin Repo - This is the Kotlin repo with the shared SDK code as well as an Android app that uses it.
KMMBridgeSampleSpm aka SPM Repo - a repo that pulls down the sdk with Swift Package Manager to use in an iOS app
Since this publishes frameworks to our GitHub org, you'll need to fork the repo in order to publish changes. If you're only using SPM and remove the CocoaPods publishing, this should be enough to start publishing your changes. If you want to use CocoaPods you'll also need to fork the Podspec Repo and change url passed to the cocoapods(...) config above to your repo. You'll also have to set up deploy keys as secrets in your KMM repo. See Here for instructions on that.
Since the base KMM repo is public, you should be able to clone the spm sample repo and run it. When you build the app it will look at the Package.swift file in the root of the Kotlin module to get the url for the most recent version of the SDK then it will download the framework from that URL and include it in the project's build.