Hi everyone, I’m trying to build an iOS Framework....
# kotlin-native
e
Hi everyone, I’m trying to build an iOS Framework. I followed the tutorial at https://github.com/JetBrains/kotlin-native/blob/master/MULTIPLATFORM.md Everything seems to work except I have to disable bitcode for it to work on a real device. It seems bitcode generation has recently been added (https://github.com/JetBrains/kotlin-native/pull/1564). Is there a quick fix based on the tutorial to enable bitcode generation? Thanks!
l
The PR has not been merged yet, so it's safe to assume it's WIP and not ready yet
e
Ok cool, thanks
s
@Edouard Goossens do you need bitcode support for watchOS?
e
@svyatoslav.scherbina No I’m not even sure I really need bitcode support at this time, it’s just in case Apple introduces a stronger requirement on bitcode
s
@Edouard Goossens Ok, thank you for the feedback!
e
You’re welcome, thank for the great tech you guys are providing us with! Can’t wait to see what’s coming next 😉 For your info, features I’m currently missing are coroutines and serialization for multiplatform project including iOS... so I guess basically being able to treat Kotlin/Native projects as platform projects... I think I read it was on the roadmap already?
👍 1
o
Those two features are on our roadmap and actively developed, progress could be tracked on github. Serialization initially may be limited to JSON <-> map, but later on we will lift this limitation and supports JSON <-> data classes