Adding iOS dependencies

Edit pageLast modified: 03 March 2025

Apple SDK dependencies (such as Foundation or Core Bluetooth) are available as a set of prebuilt libraries in Kotlin Multiplatform projects. They do not require any additional configuration.

You can also reuse other libraries and frameworks from the iOS ecosystem in your iOS source sets. Kotlin supports interoperability with Objective-C dependencies and Swift dependencies if their APIs are exported to Objective-C with the @objc attribute. Pure Swift dependencies are not yet supported.

To handle iOS dependencies in Kotlin Multiplatform projects, you can manage them with the cinterop tool or use the CocoaPods dependency manager (pure Swift pods are not supported).