magnumrocha
03/12/2020, 5:30 PM/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
kpgalligan
03/12/2020, 5:31 PMmagnumrocha
03/12/2020, 5:32 PMRun tool: konanc with args: -g -ea -target ios_x64 -p program -o /Users/magnumrocha/personal/FirestoreKMP/firestore/build/bin/iosX64/debugTest/test.kexe -l /Users/magnumrocha/personal/FirestoreKMP/firestore/build/classes/kotlin/iosX64/main/firestore.klib -l /Users/magnumrocha/personal/FirestoreKMP/firestore/build/classes/kotlin/iosX64/main/firestore-cinterop-firebasecore.klib -l /Users/magnumrocha/personal/FirestoreKMP/firestore/build/classes/kotlin/iosX64/main/firestore-cinterop-firestore.klib -l /Users/magnumrocha/.gradle/caches/modules-2/files-2.1/co.touchlab/stately-concurrency-iosx64/1.0.0-a2/d9969fb66e1adf3af907542505a1cf539cffd634/stately-concurrency.klib -l /Users/magnumrocha/.gradle/caches/modules-2/files-2.1/co.touchlab/stately-common-iosx64/1.0.0-a2/7691dfcf2ce5966c399ea35156f91513cce4112e/stately-common.klib -l /Users/magnumrocha/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-iosx64/1.3.4/b20cf69ed91067cafc92de1370c3454bf5486f3e/kotlinx-coroutines-core.klib -l /Users/magnumrocha/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/atomicfu-iosx64/0.14.2/4ffadf6de19bb85119f3b23f258df699548ce6fc/atomicfu.klib -l /Users/magnumrocha/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/atomicfu-iosx64/0.14.2/738dbcaec956f484ff7bc08bcc159110d1c4c29a/atomicfu-cinterop-interop.klib -Xcache-directory=/Users/magnumrocha/.konan/kotlin-native-macos-1.3.70/klib/cache/ios_x64-gSTATIC -Xcache-directory=/Users/magnumrocha/.konan/kotlin-native-macos-1.3.70/klib/cache/ios_x64-gSTATIC/stately-common-iosx64/1.0.0-a2/bbee20f8cf8ff54ccfd7c4ddcbee7c83b057f8ef1ed189fa116eccce2fc5e1b2 -Xcache-directory=/Users/magnumrocha/.konan/kotlin-native-macos-1.3.70/klib/cache/ios_x64-gSTATIC/stately-concurrency-iosx64/1.0.0-a2/8a9cb70726c64491f0d25406228bb1cb9213f9fd86a2e3ff2390f102ff6baa8a -Xcache-directory=/Users/magnumrocha/.konan/kotlin-native-macos-1.3.70/klib/cache/ios_x64-gSTATIC/kotlinx-coroutines-core-iosx64/1.3.4/1eb8924e8ae0876ba3dae2038381e30abe0a4795366db686f3b759b688566e9f -Xcache-directory=/Users/magnumrocha/.konan/kotlin-native-macos-1.3.70/klib/cache/ios_x64-gSTATIC/atomicfu-iosx64/0.14.2/206c16be8b7648a6fb23739fb0f127d9db6f002838bc95a8333d1ddb4c68509f -tr -linker-option -L/usr/local/opt/curl/lib -linker-option -I/usr/local/opt/curl/include -linker-option -lcurl -Xmulti-platform -no-endorsed-libs -Xinclude=/Users/magnumrocha/personal/FirestoreKMP/firestore/build/classes/kotlin/iosX64/test/firestore_test.klib
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
magnumrocha
03/12/2020, 5:32 PMkpgalligan
03/12/2020, 5:33 PMkpgalligan
03/12/2020, 5:33 PMmagnumrocha
03/12/2020, 5:33 PMmagnumrocha
03/12/2020, 5:33 PMmagnumrocha
03/12/2020, 5:34 PM> Task :firestore:linkDebugTestIosX64 FAILED
kpgalligan
03/12/2020, 5:35 PMmagnumrocha
03/12/2020, 5:35 PMmagnumrocha
03/12/2020, 5:35 PMmagnumrocha
03/12/2020, 5:35 PMkpgalligan
03/12/2020, 5:37 PMmagnumrocha
03/12/2020, 5:37 PMmagnumrocha
03/12/2020, 5:37 PMext.versions = [
'minSdk': 9,
'compileSdk': 28,
'kotlin': '1.3.70',
'androidPlugin': '3.4.1',
'androidTools': '29.0.1',
'firebaseCoreIos': '6.0.2',
'firebaseFirestoreIos': '1.3.2',
'firebaseCoreAndroid': '17.0.1',
'firebaseFirestoreAndroid': '20.1.0',
'stately': '1.0.0-a2',
'coroutines': '1.3.4'
]
magnumrocha
03/12/2020, 5:37 PM1.0.0-a2
kpgalligan
03/12/2020, 5:37 PMmagnumrocha
03/12/2020, 5:38 PMimplementation "co.touchlab:stately-common:${versions.stately}"
implementation "co.touchlab:stately-concurrency:${versions.stately}"
kpgalligan
03/12/2020, 5:38 PMmagnumrocha
03/12/2020, 5:38 PMkpgalligan
03/12/2020, 5:39 PMmagnumrocha
03/12/2020, 5:41 PMmagnumrocha
03/12/2020, 5:41 PMmagnumrocha
03/12/2020, 5:41 PM> Task :firestore:linkDebugFrameworkIosArm64 UP-TO-DATE
> Task :firestore:linkDebugFrameworkIosX64 UP-TO-DATE
> Task :firestore:linkReleaseFrameworkIosArm64 UP-TO-DATE
> Task :firestore:linkReleaseFrameworkIosX64 UP-TO-DATE
> Task :firestore:compileKotlinMetadata UP-TO-DATE
> Task :firestore:metadataMainClasses UP-TO-DATE
> Task :firestore:metadataJar UP-TO-DATE
> Task :firestore:assemble UP-TO-DATE
> Task :firestore:iosX64ProcessResources NO-SOURCE
> Task :firestore:iosX64MainKlibrary UP-TO-DATE
> Task :firestore:compileTestKotlinIosX64 UP-TO-DATE
> Task :firestore:linkDebugTestIosX64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
magnumrocha
03/12/2020, 5:41 PMmagnumrocha
03/12/2020, 5:42 PMmagnumrocha
03/12/2020, 5:42 PMkpgalligan
03/12/2020, 5:42 PMmagnumrocha
03/12/2020, 5:42 PMkpgalligan
03/12/2020, 5:43 PMmagnumrocha
03/12/2020, 5:45 PMmagnumrocha
03/12/2020, 5:46 PMfirebase-test
modulemagnumrocha
03/12/2020, 5:46 PMiosX64("ios") {
//binaries.getFramework("DEBUG")
// .freeCompilerArgs.add("-tr")
}
magnumrocha
03/12/2020, 5:47 PMmagnumrocha
03/12/2020, 5:47 PMfreeCompilerArgs
is not mutable anymorekpgalligan
03/12/2020, 5:51 PMmagnumrocha
03/12/2020, 5:51 PMmagnumrocha
03/12/2020, 5:52 PMkpgalligan
03/12/2020, 5:56 PMkpgalligan
03/12/2020, 5:57 PMkpgalligan
03/12/2020, 5:59 PMmagnumrocha
03/12/2020, 6:00 PMkpgalligan
03/12/2020, 6:01 PMfirebase-test
to run, youâll definitely need -tr
, so maybe try
iosX64("ios"){
compilations.main {
it.kotlinOptions.freeCompilerArgs += ["-tr"]
}
}
kpgalligan
03/12/2020, 6:04 PMmagnumrocha
03/12/2020, 6:04 PM-x check
the build workskpgalligan
03/12/2020, 6:05 PMmagnumrocha
03/12/2020, 6:06 PM