📄️ Using Swift Package Manager
Swift Package Manager is a newer dependency manager directly from Apple. In some ways it's more integrated into Xcode, but is also less flexible than CocoaPods. Much of that seems by design, as it's very difficult to introduce side effects into the Package.swift build scripts. While that is likely to result in more reliable builds for the average Xcode project, for Kotlin builds, that means some more manual processes at present.
📄️ SPM Local Dev Flow
After you have integrated your Kotlin module into Xcode using SPM, you may want to locally build and test your Kotlin code when making changes.