Replace cocoapods with regular framework
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
kotlin("native.cocoapods")
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.compose")
|
||||
}
|
||||
@@ -8,21 +7,15 @@ plugins {
|
||||
kotlin {
|
||||
androidTarget()
|
||||
|
||||
iosX64()
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
|
||||
cocoapods {
|
||||
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 {
|
||||
listOf(
|
||||
iosX64(),
|
||||
iosArm64(),
|
||||
iosSimulatorArm64()
|
||||
).forEach { iosTarget ->
|
||||
iosTarget.binaries.framework {
|
||||
baseName = "shared"
|
||||
isStatic = true
|
||||
}
|
||||
extraSpecAttributes["resources"] = "['src/commonMain/resources/**', 'src/iosMain/resources/**']"
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
Reference in New Issue
Block a user