From a9e2c6a1845b17abf5da2ae0f2c2a3791711efe5 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Fri, 16 Feb 2024 14:20:29 +0100 Subject: [PATCH] [Bitcoin]: Add linker options --- samples/kmp/shared/build.gradle.kts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/samples/kmp/shared/build.gradle.kts b/samples/kmp/shared/build.gradle.kts index ca1ad047e3d..461c09d9882 100644 --- a/samples/kmp/shared/build.gradle.kts +++ b/samples/kmp/shared/build.gradle.kts @@ -29,13 +29,23 @@ kotlin { podfile = project.file("../iosApp/Podfile") framework { baseName = "shared" + + listOf( + iosX64(), + iosArm64(), + iosSimulatorArm64() + ).forEach { + it.binaries.all { + linkerOpts += "-ld64" + } + } } } sourceSets { val commonMain by getting { dependencies { - implementation("com.trustwallet:wallet-core-kotlin:4.0.22") + implementation("com.trustwallet:wallet-core-kotlin:4.0.24") } } val commonTest by getting {