🚨 Major KMP Update: Debugging Kotlin in Xcode with SPM is now possible! Simplify workflows for iOS teams while scaling Kotlin Multiplatform. Read @kpgalligan.bsky.social ’s breakdown:
Comments
Log in with your Bluesky account to leave a comment
Is spm a good alternative to using cocoapods? I initially tried building a framework but it led to doubling the build since we needed it in both widget and app. I'd love to get out off cocoapods since those are winding down.
Taking a look at the docs it sounds like the local dev flow for kmmbridge + spm is to manually drag and drop files. I guess we'll stick with cocoapods for now since we still need it for other stuff right now
I'd say it depends on how the team works with KMP. If there's not a lot of local dev and mostly the team uses published KMP binaries, there are plusses/minuses to CocoaPods and SPM. We have a new dev flow model doc coming out, which is SPM-based and should mitigate some issues with team dev...
However, if most of the devs need to make local edits, I wouldn't use either CocoaPods or SPM. https://touchlab.co/kmp-teams-use-source. Some of the points in that article are outdated, but the core message is the same. KMP is only library code if you're building libraries. If you're using it for
Ha, whoops. Forgot this was a thread about the debugging post. Anyway, yeah, that's pretty useful. If the team needs to do a lot of local editing, though, using SPM or CocoaPods vs building source seems kind of pointless (to me).
Comments