New Kotlin Xcode plugin installer. I don’t want to...
# multiplatform
k
New Kotlin Xcode plugin installer. I don’t want to over-spam the channels, so I’ll post here and maybe the others over time, but we’d love to get feedback: https://twitter.com/TouchlabHQ/status/1527258401423740930?s=20&t=VCMeovYtX9xaIqLu5n5sDw
🚀 1
💙 11
🎊 3
TL;DR
Copy code
brew install xcode-kotlin
xcode-kotlin install
🙏 3
OK, so found a nice day 1 bug. Updates coming soon…
🙂 1
m
you guys at Touchlab remind me of Square (or was it just JW? 😉) many years ago when they provided where android lacked 🙂
🙏 2
🙏🏾 1
k
So, until homebrew approves, you can run the homebrew build locally with
Copy code
brew install xcode-kotlin --head
It’ll take a while as it’s doing a Kotlin/Native CLI build, but it should result in a patched CLI tool. You’ll only see the bug if you’ve never installed the Xcode plugin on your local machine (which, of course, everybody had on our side). Better CI would’ve caught this one. Will do that soon too…
@Michal Klimczak Well, we’re working directly with them (and JW) on KMP stuff too! History repeating. https://twitter.com/TouchlabHQ/status/1120698073766924289?s=20&t=C0fvOsC3Y-WpgRmmsbbM_A
❤️ 6
x
One of the biggest problems is that when using Xcode debugs kotlin code, the macOS machine must be same with bulit kmm framework. If you package the framework on the ci machine and then debug it locally, you will not be able to breakpoint to the kotlin code line. This is especially time-consuming in componentized projects with multiple kmm components.
k
We're aware. We have a private prototype that gets around that, but currently only for dynamic frameworks. You have to remap debug urls, basically
It's not a kotlin thing, btw. It's an llvm thing. Swift would have the same issue in theory