使用 Kotlin Native 为 Swift 项目编写依赖库
环境 MacOS 15.6、Xcode 16.4、IDEA 2025.2、Gradle 8.14.3、Kotlin 2.2.0 步骤 创建项目 通过IDEA的 Kotlin Multiplatform 插件创建项目 仅选择 iOS,不共享 UI 添加依赖 在 libs.versions.toml 添
环境 MacOS 15.6、Xcode 16.4、IDEA 2025.2、Gradle 8.14.3、Kotlin 2.2.0 步骤 创建项目 通过IDEA的 Kotlin Multiplatform 插件创建项目 仅选择 iOS,不共享 UI 添加依赖 在 libs.versions.toml 添