https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
m

Matt Nelson

10/02/2023, 3:03 AM
Anyone got any ideas on how to resolve this link/version issue? What compiler args do I need to add for
clang
to not throw up? Currently using
cklib
to compile some
C
to bitcode.
Copy code
ld: warning: object file (/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/konan_temp362426486075783839/result.o) was built for newer iOS Simulator version (14.0) than being linked (9.0)
Undefined symbols for architecture arm64:
  "_SecRandomCopyBytes", referenced from:
      _entropy in result.o
  "_kSecRandomDefault", referenced from:
      _entropy in result.o
ld: symbol(s) not found for architecture arm64
4 Views