Thread
#multiplatform
    Tristan Hamilton

    Tristan Hamilton

    1 year ago
    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?
    louiscad

    louiscad

    1 year ago
    I can confirm I build iOS compatible libraries on GitHub Actions and it works.
    Tristan Hamilton

    Tristan Hamilton

    1 year ago
    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
    louiscad

    louiscad

    1 year ago
    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.
    Tristan Hamilton

    Tristan Hamilton

    1 year ago
    ha ok so I got confused there wondering where you install the xcode cli tools... xcode is installed on the macos image that github actions provides! see https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11.0-Readme.md
    louiscad

    louiscad

    1 year ago
    Yes, these are macs for development purposes, why would they just bring you consumer level tools?
    Tristan Hamilton

    Tristan Hamilton

    1 year ago
    yep makes total sense 😅
    louiscad

    louiscad

    1 year ago
    Do you want to subscribe to Apple TV+ on your CI? 😁