keybase / go-keychain

Golang keychain package for iOS and macOS
MIT License
573 stars 120 forks source link

Error of clang-14: error: linker command failed with exit code 1 (use -v to see invocation) in macOS #101

Open elsagong opened 1 year ago

elsagong commented 1 year ago

I tried to run a demo of Go on macOS, but I always get the error go-keychain ld: framework not found CoreFoundation clang-14: error: linker command failed with exit code 1 (use -v to see invocation), that code can run successfully in Linux, Does go-keychain not work on MacOS?

go version
go version go1.18.3 darwin/amd64

xcode-select -p && xcodebuild -version
/Applications/Xcode.app/Contents/Developer
Xcode 14.2
Build version 14C18

Thanks so much for any feedback.