Skip to content

Commit

Permalink
fix: current bug when trying to publish an app on app store with apol…
Browse files Browse the repository at this point in the history
…lo inside (#150)
  • Loading branch information
goncalo-frade-iohk authored Mar 22, 2024
1 parent 922d037 commit 258fc08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ kotlin {
binaries.framework {
baseName = "ApolloLibrary"
embedBitcode(BitcodeEmbeddingMode.DISABLE)
freeCompilerArgs += listOf("-Xoverride-konan-properties=minVersion.ios=13.0;minVersionSinceXcode15.ios=13.0")
}
}
iosX64 {
Expand All @@ -144,6 +145,7 @@ kotlin {
binaries.framework {
baseName = "ApolloLibrary"
embedBitcode(BitcodeEmbeddingMode.DISABLE)
freeCompilerArgs += listOf("-Xoverride-konan-properties=minVersion.ios=13.0;minVersionSinceXcode15.ios=13.0")
if (os.isMacOsX) {
if (System.getenv().containsKey("XCODE_VERSION_MAJOR") && System.getenv("XCODE_VERSION_MAJOR") == "1500") {
linkerOpts += "-ld64"
Expand Down Expand Up @@ -171,6 +173,7 @@ kotlin {
binaries.framework {
baseName = "ApolloLibrary"
embedBitcode(BitcodeEmbeddingMode.DISABLE)
freeCompilerArgs += listOf("-Xoverride-konan-properties=minVersion.ios_simulator_arm64=13.0;minVersionSinceXcode15.ios=13.0")
}
}
macosArm64 {
Expand All @@ -193,6 +196,7 @@ kotlin {
binaries.framework {
baseName = "ApolloLibrary"
embedBitcode(BitcodeEmbeddingMode.DISABLE)
freeCompilerArgs += listOf("-Xoverride-konan-properties=minVersion.macos=11.0;minVersionSinceXcode15.macos=11.0")
}
}
js(IR) {
Expand Down

0 comments on commit 258fc08

Please sign in to comment.