https://kotlinlang.org logo
#ios
Title
# ios
r

Rainer Schlonvoigt

08/02/2019, 10:59 AM
what's the official way of setting the version number of a kotlin-native iOS framework? Currently it always reports 1.0
a

Artyom Degtyarev [JB]

08/02/2019, 11:53 AM
Hello! I’m not sure it is possible right now. Can you tell us more about your use-case?
r

Rainer Schlonvoigt

08/02/2019, 12:06 PM
my use-case is that our team is writing a library in a kotlin multiplatform project and distributing it to our customers in form of a compiled framework.
for a bunch of use-cases our customers need/want to be able to see the version of the library at runtime
so far we are trying to change the plist programmatically
but it would be nice if that was supported out of the box
s

svyatoslav.scherbina

08/02/2019, 1:32 PM
Currently setting the version number for a framework is not supported, so changing plist programmatically is likely the best approach here. We are considering improving this later.
r

Rainer Schlonvoigt

08/02/2019, 1:32 PM
okay, thank you 🙂
3 Views