Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 'SecTrustedApplicationCreateFromPath' is deprecated #10057

Closed
wuyahuang opened this issue Sep 2, 2021 · 0 comments
Closed

Bug: 'SecTrustedApplicationCreateFromPath' is deprecated #10057

wuyahuang opened this issue Sep 2, 2021 · 0 comments

Comments

@wuyahuang
Copy link

The build failed when trying to create a blog module on macOS.

cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here

As @alexanderbez mentioned on Iusse 5759, cosmos-sdk depends on github.com/99designs/keyring and not keybase/go-keychain directly.

But keyring temporary fix the problem to get go-keychain compiling/testing, and the issue is still exists after 14 months.

Maybe it's time to switch from keyring to go-keychain, or just add a replace directive to go.mod.

replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant