Join Slack
Powered by
Interesting commit! Kotlin only iOS and watchOS sa...
# kotlin-native
l
louiscad
10/22/2019, 7:51 PM
Interesting commit! Kotlin only iOS and watchOS samples, with storyboard-less UIs:
https://github.com/JetBrains/kotlin-native/commit/0b8066602e1310762398f03ad209fa336d7fb5c6
👍 4
m
Michal Harakal
10/23/2019, 1:39 PM
This is nice, but has anybody idea why is handwritten task
packForXCode
is used instead of
cocoapods
?
s
Sam
10/23/2019, 2:03 PM
Likely because cocoapods is a distribution platform and there is no need to publish the framework for external consumption outside of the project.
m
Michal Harakal
10/23/2019, 2:16 PM
yes, that makes sense and it is fine for a sample app. I have tried both ways(directly and cocoapods) and I’m still not realy able, without the instructions (e.g. like here
https://play.kotlinlang.org/hands-on/Targeting%20iOS%20and%20Android%20with%20Kotlin%20Multiplatform/06_SettingUpKotlinFramework
), to add framework with additional custom build steps into xcode, ok I am also not an iOS developer. With cocoapods its much more convenient. Also usually a bigger app has cocopods for other dependencies.
j
Jeremy
10/23/2019, 2:31 PM
Depends, some teams might just want an artifact and not want the ios app build tied into the lib build
m
Michal Harakal
10/23/2019, 2:38 PM
Thanks for your feedback.
Open in Slack
Previous
Next