Kermit icon indicating copy to clipboard operation
Kermit copied to clipboard

I'm Getting an Error From the Sentury Plugin on The Native Build

Open alexwhb opened this issue 2 years ago • 0 comments

I'm using Kermit 1.1.3 with the co.touchlab:kermit-sentry plugin. Everything seems to work fine on Android, but on the native side it's not working properly. I've tried building for a real device as well and I get some other odd errors. It will sometimes build but then it gives

Here's what my error message looks like:

e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors

The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: warning: object file (/var/folders/7k/tbdh_xjx3px9wr959xplg3yh0000gn/T/konan_temp10316344448197767467/result.o) was built for newer iOS Simulator version (14.0) than being linked (9.0)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_SentrySDK", referenced from:
      objc-class-ref in result.o
  "_OBJC_CLASS_$_SentryBreadcrumb", referenced from:
      objc-class-ref in result.o
ld: symbol(s) not found for architecture arm64

> Task :shared:linkPodDebugFrameworkIosSimulatorArm64 FAILED

FAILURE: Build failed with an exception.

Seems like maybe the Sentry arm64 binaries are not being built properly or something?

alexwhb avatar Jul 26 '22 21:07 alexwhb