



Since this publishes frameworks to our GitHub org, you'll need to fork the repo in order to publish changes. Look over the docs for more configuration options.Įnter fullscreen mode Exit fullscreen mode It also uses githubReleaseVersions to autoincrement versions when publishing a framework. For your project you can just include one or the other based on your team's needs. In the kmmbridge config block, we set publishing both with both Swift Package Manager and Cocoapods. The shared module is a Kotlin Multiplatform module and targets android, ios, and iosSimulatorArm64 declared in the kotlin block of the. That depends on the shared code through a Gradle project dependency. This repo also has a standard Android app module This repo demonstrates the usual first step for a larger team that wants to try out Kotlin Multiplatform: putting new or existing Kotlin code in a shared module in your Android app repo. See the CocoaPods section for more info on this. When publishing for CocoaPods a podspec file will be pushed to this repo in a folder with the version number. PublicPodspecs aka Podspec Repo - A CocoaPods custom Podspec repo.KMMBridgeSampleSpm aka SPM Repo - a repo that pulls down the sdk with Swift Package Manager to use in an iOS app.KMMBridgeSampleCocoaPods aka CocoaPods Repo- a repo that pulls down the sdk with CocoaPods to use in an iOS app.

