https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
t

Tristan Hamilton

11/20/2020, 12:37 PM
Hello! Looking to add iOS target for kotlin-result lib: https://github.com/michaelbull/kotlin-result/pull/23 Main issue up to now is not having a macOS machine to compile and publish with. Someone just pointed out that we could use a free github actions macos env, however if we need to install full xcode that will break the free storage limit. If we could just install the xcode cli tools, seems we would be ok. So when I originally went to add this I definitely read some doc that I believe mentioned needing full xcode installed (it used to mention something about it here: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#using-kotlinnative-targets but that page is now gone). Can anyone here confirm if xcode cli tools installed is enough to build iOS targets for multiplatform library?
l

louiscad

11/20/2020, 12:39 PM
I can confirm I build iOS compatible libraries on GitHub Actions and it works.
❤️ 1
t

Tristan Hamilton

11/20/2020, 12:39 PM
sweet 😎 thanks @louiscad
would you have a link to one of your github actions workflow to get some inspriration? Im very unfamiliar with this ci tool
l

louiscad

11/20/2020, 12:44 PM
You can look at the .github dir in my project #splitties where I have one action to check it builds, and one to publish the artifacts.
🙇‍♂️ 1
❤️ 1
Yes, these are macs for development purposes, why would they just bring you consumer level tools?
t

Tristan Hamilton

11/20/2020, 12:51 PM
yep makes total sense 😅
l

louiscad

11/20/2020, 12:51 PM
Do you want to subscribe to Apple TV+ on your CI? 😁
😂 3
🙃 1
7 Views