burtonageo/cargo-bundle

Linker error `ld: framework not found Security`

BenLeadbetter opened this issue ยท 1 comments

Hi cargo-bundle people ๐Ÿ‘‹

I'm hitting a linker error at compile time:

error: linking with `cc` failed: exit status: 1
  ...
  = note: ld: framework not found Security
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `target_build_utils` (build script) due to previous error

System Specs

  • macOS 13.6 (Ventura)
  • stable-aarch64-apple-darwin
  • rustc 1.75.0 (82e1608df 2023-12-21)

Anyone seen this before?

Ok I've sussed out the problem I had. Looks like I just needed to update to the latest version of Xcode Command Line Tools and ensure they were properly configured with xcode-select.