Andrea
02/08/2024, 9:11 PMcocoapods {
version = "1.0.0"
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
ios.deploymentTarget = "14.1"
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "shared"
isStatic = true
}
}
• https://github.com/JetBrains/compose-multiplatform/blob/master/examples/todoapp-lite/shared/build.gradle.kts
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "shared"
isStatic = true
}
}
Is there a “preferred” approach or does it depends on project configuration ? Any feedbacks or experiences? The second one is what I see when I generate the project with the kmp wizard, but I have seen a lot of projects using the pod approach for the shared module.Pablichjenkov
02/08/2024, 10:11 PMPablichjenkov
02/08/2024, 10:13 PMAndrea
02/09/2024, 12:24 PMPablichjenkov
02/09/2024, 12:51 PM