Saurabh Gupta
11/06/2025, 6:04 AMDirect integration
You can connect the iOS framework directly from the Kotlin Multiplatform project by adding a special script to your Xcode project. The script is integrated into the build phase of your project's build settings.
This integration method can work for you if you do not import CocoaPods dependencies in your Kotlin Multiplatform project.
If you use the Kotlin Multiplatform IDE plugin, direct integration is applied by default.
For more information, see Direct integration.
CocoaPods integration with a local podspec
You can connect the iOS framework from the Kotlin Multiplatform project through CocoaPods, a popular dependency manager for Swift and Objective-C projects.
This integration method works for you if:
• You have a mono repository setup with an iOS project that uses CocoaPods
• You import CocoaPods dependencies in your Kotlin Multiplatform project
To set up a workflow with a local CocoaPods dependency, you can either edit the scripts manually.
For more information, see CocoaPods overview and setup.
François
11/06/2025, 6:06 AMSaurabh Gupta
11/06/2025, 6:24 AMFrançois
11/06/2025, 7:23 AMSaurabh Gupta
11/06/2025, 3:42 PM