# 网上很多文档说重启机器,清除缓存什么的,纯属扯淡,都是相互复制粘贴,经测验在stackoverflow找到以下解决方法,亲测可用
security unlock-keychain -p "Your_PASS" ~/Library/Keychains/login.keychain security unlock-keychain -p Your_PASS ~/Library/Keychains/login.keychain security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k YOUR_PASS ~/Library/Keychains/login.keychain security set-keychain-settings ~/Library/Keychains/login.keychain