diff --git a/sdks/community/kotlin/examples/chatapp/shared/build.gradle.kts b/sdks/community/kotlin/examples/chatapp/shared/build.gradle.kts index c499498f3..c88315360 100644 --- a/sdks/community/kotlin/examples/chatapp/shared/build.gradle.kts +++ b/sdks/community/kotlin/examples/chatapp/shared/build.gradle.kts @@ -28,16 +28,17 @@ kotlin { } } - listOf( - iosX64(), - iosArm64(), - iosSimulatorArm64() - ).forEach { iosTarget -> - iosTarget.binaries.framework { - baseName = "shared" - isStatic = true - } - } + // iOS targets commented out to prevent Gradle sync issues +// listOf( +// iosX64(), +// iosArm64(), +// iosSimulatorArm64() +// ).forEach { iosTarget -> +// iosTarget.binaries.framework { +// baseName = "shared" +// isStatic = true +// } +// } sourceSets { val commonMain by getting { @@ -143,30 +144,31 @@ kotlin { } } - // Get the existing specific iOS targets - val iosX64Main by getting - val iosArm64Main by getting - val iosSimulatorArm64Main by getting - - // Create an iosMain source set and link the others to it - val iosMain by creating { - dependsOn(commonMain) - iosX64Main.dependsOn(this) - iosArm64Main.dependsOn(this) - iosSimulatorArm64Main.dependsOn(this) - } - - // Also create iosTest - val iosX64Test by getting - val iosArm64Test by getting - val iosSimulatorArm64Test by getting - - val iosTest by creating { - dependsOn(commonTest) - iosX64Test.dependsOn(this) - iosArm64Test.dependsOn(this) - iosSimulatorArm64Test.dependsOn(this) - } + // iOS source sets commented out to prevent Gradle sync issues +// // Get the existing specific iOS targets +// val iosX64Main by getting +// val iosArm64Main by getting +// val iosSimulatorArm64Main by getting +// +// // Create an iosMain source set and link the others to it +// val iosMain by creating { +// dependsOn(commonMain) +// iosX64Main.dependsOn(this) +// iosArm64Main.dependsOn(this) +// iosSimulatorArm64Main.dependsOn(this) +// } +// +// // Also create iosTest +// val iosX64Test by getting +// val iosArm64Test by getting +// val iosSimulatorArm64Test by getting +// +// val iosTest by creating { +// dependsOn(commonTest) +// iosX64Test.dependsOn(this) +// iosArm64Test.dependsOn(this) +// iosSimulatorArm64Test.dependsOn(this) +// } } }