From 1fbbed09bc00cbf244953df6961d32eca0dc88b3 Mon Sep 17 00:00:00 2001 From: Gabriel Souza Date: Wed, 30 Mar 2022 08:45:38 -0400 Subject: [PATCH] Excluding multiplatform common sources for not fail in xcode build (#1984) --- .../uikit/internal/configureTaskToGenerateXcodeProject.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt index cb95cf7828..8453e9a424 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt +++ b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/experimental/uikit/internal/configureTaskToGenerateXcodeProject.kt @@ -46,7 +46,12 @@ internal fun Project.configureTaskToGenerateXcodeProject( UILaunchStoryboardName: "" method: "development" sources: - - "../../../src/" + - path: "../../../src/" + excludes: + - "jvm*/**" + - "desktop*/**" + - "android*/**" + - "*Test/**" settings: LIBRARY_SEARCH_PATHS: "$(inherited)" ENABLE_BITCODE: "YES"