I am new to multiplatform development. I am trying...
# multiplatform
v
I am new to multiplatform development. I am trying to add firebase auth to ios. In shared module build.gradle.kts I do have
Copy code
kotlin {
    listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach { iosTarget ->
        iosTarget.binaries.framework {
            baseName = "ComposeApp"
            isStatic = true
        }
    }
    cocoapods {
        version = "1.0"
        summary = "CocoaPods test library"
        homepage = "<https://github.com/JetBrains/kotlin>"
        pod("FirebaseAuth") {
            source = git("<https://github.com/firebase/firebase-ios-sdk>") {
                tag = "10.16.0"
            }
        }
    }

    .....
}
but then I get this error
Copy code
Specs satisfying the `FirebaseAuth (from `<https://github.com/firebase/firebase-ios-sdk>`, tag `10.16.0`)` dependency were found, but they required a higher minimum deployment target.
f
you didn’t specify the min version in the cocoapods block
v
Thanks for the answer. I did try adding deploymenttarget but got errors. Sorry for asking like a noob.
I wonder if I am putting the cocoapods block in the correct build.gradle.kts file? Its in the
composeApp
module as generated by the kmm generator.
f
just use deploymentTarget porperty