Sorry another odd thing I want to go to the bottom...
# compose-ios
j
Sorry another odd thing I want to go to the bottom with, want to know if bug or not I should file an issue for. When I do rebuild/clean build I get these "errors", with @Composable not exists in my module `data`but only for that. But most importantly these:
-XXLanguage:+ImplicitSignedToUnsignedIntegerConversion
vs
ld: warning: ignoring duplicate libraries: '-ldl', '-lsqlite3'
ld: framework 'FirebaseCore' not found
But once I actually compile iOS app it does work anyway to build. I am using cocoapods in data module, see in 🧵 my setup.
Copy code
iosMain {
            dependencies {
                implementation(libs.ktor.darwin)
                implementation(libs.sqldelight.native)
                implementation(libs.multiplatform.paging.runtime)
            }
            cocoapods {
                version = "1.0"
                name = "data_pods"
                summary = "App CocoaPods"
                homepage = "<https://github.com/JetBrains/kotlin>"

                ios.deploymentTarget = "17.2"

                pod("GoogleSignIn") {
                    version = "7.0.0"
                }
            }
        }
And my shared module consume the data module:
Copy code
listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach {
        it.binaries.framework {
            isStatic = true
            baseName = "AppKt"
        }
    }