Kermit 1.2.2: ld: symbol(s) not found for architecture arm64
See original GitHub issue> Task :core:linkDebugFrameworkIosArm64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:
kotlin.native.cacheKind.iosArm64=none
Also, consider filing an issue with full Gradle log here: https://kotl.in/issue
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FIRCrashlytics", referenced from:
objc-class-ref in libco.touchlab.crashkios:crashlytics-cache.a(result.o)
"_OBJC_CLASS_$_FIRExceptionModel", referenced from:
objc-class-ref in libco.touchlab.crashkios:crashlytics-cache.a(result.o)
"_OBJC_CLASS_$_FIRStackFrame", referenced from:
objc-class-ref in libco.touchlab.crashkios:crashlytics-cache.a(result.o)
ld: symbol(s) not found for architecture arm64
Execution failed for task ':core:linkDebugFrameworkIosArm64'.
> Compilation finished with errors
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Kermit 1.2.1-alpha works fine.
Environment: macOS 12.6 Monterey 12.6 Xcode Version 14.1 (14B47b)
Issue Analytics
- State:
- Created 10 months ago
- Comments:22
Top Results From Across the Web
ld: symbol(s) not found for architecture arm64 - Apple Developer
Hi,all. I'm writing a simple c program on my m1 MacBook with vscode ,but when I complied the project, error occurs: Undefined symbols...
Read more >x86_64 on Apple Silicon: ld: symbol(s) not found for ... - GitHub
I tried running the tests of the hello_world program in the x86_64 Assembly track, but when running make I only get the error:...
Read more >Symbol(s) not found for architecture arm64 - XCode
First step is to upgrade the react-native-purchases by Revenuecat package to the latest version. Clean your pods: REFERENCE LINK TO PROPERLY ...
Read more >Symbol(s) Not Found for Architecture x86_64 Error Solved
Check our detailed article to find out the reasons behind ld: symbol(s) not found for architecture x86_64l failure and easily fix it in...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will update the Kermit docs, though, to make this more visible.
I’ve recreated that issue in Kotlin 1.7.10 and Kermit 1.2.1-alpha. As I said, in your sample, you have
CrashlyticsLogWriter()
commented out. When you uncomment that and runcore:build
, it fails with the linker error, which again, is in the doc. It explains why you see that.