sigmadelta
02/18/2024, 8:31 PMbuild.gradle.kt
file are a bit different as opposed to prior KMM projects. And now when I try to add the ballast dependencies to my commonMain.dependencies
definition, the retrieval for the iOS targets fails (in the past, defining an ios()
was enough, now you need to be more specific e.g. iosArm64
, iosX64
, ...). When I move the dependencies to the androidMain
section however, the retrieval succeeds.
Is there something I'm missing in my gradle setup, or does the library need to define new target definitions to support these iOS sub-targets?Casey Brooks
02/19/2024, 4:22 PMsigmadelta
02/20/2024, 6:24 PMsigmadelta
02/20/2024, 6:29 PMAndroid
and iOS - Share UI
option. This creates a Gradle project with support for Compose Multiplatform, and when I basically add the Ballast dependencies in the commonMain
dependencies here, as derived from the README.md, the Gradle sync fails with several similar messages all complaining about the iOS subtargets (iosX64()
, iosArm64()
,iosSimulatorArm64()
).
I've been able to derive that the errors only occur on io.github.copper-leaf:ballast-firebase-analytics
and io.github.copper-leaf:ballast-firebase-crashlytics
. If I comment these 2 out, then the others do resolve without issue.Casey Brooks
02/20/2024, 6:43 PMballast-analytics
and ballast-crash-reporting
, but you’ll need to wire them up the platform’s reporting SDKs yourself. I see now that the docs are incorrect in showing the firebase-specific dependences in commonMain
, so I will update that shortlysigmadelta
02/20/2024, 7:23 PM