KMP - Cocoapods IntelliJ Plugin org.jetbrains.kotlin.native.cocoapods

Andres Sandoval
1 min readJan 5, 2025

Getting started with Cocoapods

Use the cocoapods IntelliJ Plugin org.jetbrains.kotlin.native.cocoapods. Github code example

How to

Add the below code inside build.gradle.kts

plugins
{
alias(libs.plugins.kotlinCocoapods) apply false
}

Add the below code inside composeApp/build.gradle.kts

plugins
{
alias(libs.plugins.kotlinCocoapods)
}

kotlin {
cocoapods {
version = "1.0"
}

Add the below code inside gradle/libs.versions.toml

kotlinCocoapods = { id = "org.jetbrains.kotlin.native.cocoapods", version.ref = "kotlin" }

Sync project.

Thank you for reading. Hope you learn something new.🙌🙏✌.

Don’t forget to clap 👏 50 times to support me and follow me for more such useful articles about Android Development, Gemini AI, Kotlin & KMP.

If you need any help related to Android, Kotlin and KMP. I’m always happy to help you.

[Hopefully you will find this useful]

Thank you for reading!

Follow me on:

Medium, LinkedIn, GitHub, Google developer

Thank you for taking the time to read this. I welcome your feedback on how I can improve or if you have any questions.

— Andres 🙌🏻

--

--

Andres Sandoval
Andres Sandoval

Written by Andres Sandoval

I'm a passionate Android Software Engineer with over 11 years of experience. andresand.github.io/andres-about-me/ buymeacoffee.com/andresand

No responses yet