Patrick_K
Patrick_K

Reputation: 289

Kotlin Multiplatform: Set version in Info.plist

I have a Kotlin Multiplatform project and build it for iOS with assembleXCFramwork

Everything works fine and the module is created. But currently I don't see any version in the Info.plist file. In build.gradle.kts I set a version like: version = "1.1.9"

Is it possible to somehow write this version automatically into the Plist.info file?

Upvotes: 1

Views: 1314

Answers (1)

Patrick_K
Patrick_K

Reputation: 289

I just found it here:

https://kotlinlang.org/docs/multiplatform-build-native-binaries.html#export-dependencies-to-binaries

It works with this setting

binaries {
    framework {
        binaryOption("bundleVersion", "1.1.9")
    }
}

Upvotes: 2

Related Questions