{"id":201193,"date":"2020-11-24T18:45:51","date_gmt":"2020-11-24T10:45:51","guid":{"rendered":"http:\/\/4563.org\/?p=201193"},"modified":"2020-11-24T18:45:51","modified_gmt":"2020-11-24T10:45:51","slug":"homebew-on-macos-big-sur-%e5%85%bc%e5%ae%b9%e6%80%a7%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=201193","title":{"rendered":"Homebew on macOS Big Sur \u517c\u5bb9\u6027\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Homebew on macOS Big Sur \u517c\u5bb9\u6027\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jaylee4869 <\/span>  <span><i><\/i> 14<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u521a\u5347\u7ea7\u4e86 mac\uff0c\u5728\u4f7f\u7528 homebrew \u7684\u65f6\u5019\u4f1a\u63d0\u9192\uff1a<\/p>\n<pre><code>Warning: You are using macOS 11.0. We do not provide support for this released but not yet supported version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this released but not yet supported version. <\/code><\/pre>\n<p>\u5c1d\u8bd5\u5b89\u88c5\u67d0\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\u7684\u65f6\u5019\u4f1a\u62a5\u9519\uff1a<\/p>\n<pre><code>Error: Your CLT does not support macOS 11.0. It is either outdated or was modified. Please update your CLT or delete it if no updates are available. Error: An exception occurred within a child process: SystemExit: exit <\/code><\/pre>\n<p>\u5728\u793e\u533a\u7684\u641c\u7d22\u7ed3\u679c\uff1a<\/p>\n<p>https:\/\/github.com\/GoogleContainerTools\/kpt\/issues\/962 \u548c\u6211\u4e00\u6837\u7684\u95ee\u9898<\/p>\n<p>https:\/\/discourse.brew.sh\/t\/macos-big-sur-issue\/8407 \u540c\u4e0a<\/p>\n<p>https:\/\/github.com\/Homebrew\/brew\/issues\/7857 \u8bf4\u7531\u4e8e CI \u73af\u5883\u7f3a\u5931\u6700\u8fd1\u51e0\u4e2a\u4e0d\u4f1a\u652f\u6301 arm \u4e0b\u7684 homebrew<\/p>\n<p>p.s.: \u673a\u5668\u662f Intel CPU.<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4211210\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GTD <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e5f\u662f\u8fd9\u6837\uff0c\u770b\u89c1\u8fd9\u4e2a\u771f\u95f9\u5fc3\uff0c\u8fd8\u662f\u7528 apfs snapshot \u56de\u9000\u5230\u6ca1\u6709 homebrew \u7684\u72b6\u6001\uff0c\u7b49\u65b0\u7248\u672c\u51fa\u6765\u4e86\u518d\u5b89\u88c5\u5427\u3002\u518d\u7b49\u7b49\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4211211\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dingdayu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4ec5\u4ec5\u662f\u4e0a\u9762\u7684\u63d0\u793a\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u66f4\u65b0 Xcode 12.2 \u6765\u89e3\u51b3\uff08\u8bf7\u5728\u5b89\u88c5\u540e\uff0c\u624b\u52a8\u6253\u5f00\u4e00\u6b21\uff0c\u4f1a\u63d0\u793a\u5b89\u88c5 Xcode Tools \uff09\uff0c\u5982\u679c\u66f4\u65b0 Xcode \u4e0d\u80fd\u591f\u89e3\u51b3\u4f60\u7684\u95ee\u9898\uff0c\u90a3\u4e48\u8bf7\u770b\u4e0b\u9762\u7684\u65b9\u6848\uff1a<\/p>\n<p>1. \u66f4\u65b0 Command Line Tools<\/p>\n<p>&#8220;`bash<br \/>softwareupdate &#8211;all &#8211;install &#8211;force<br \/>&#8220;`<\/p>\n<p>&gt; \u7531\u4e8e\u4f60\u521a\u66f4\u65b0\u7684 xcode\uff0c\u4e0d\u51fa\u610f\u5916\u4f1a\u63d0\u793a\uff0c\u6ca1\u6709\u53ef\u7528\u7684\u66f4\u65b0\uff1a`No new software available.`<\/p>\n<p>2. \u624b\u52a8\u79fb\u9664 CommandLineTools\uff0c\u7136\u540e\u91cd\u65b0\u5b89\u88c5\uff1a<\/p>\n<p>&#8220;`bash<br \/>sudo rm -rf \/Library\/Developer\/CommandLineTools<br \/>sudo xcode-select &#8211;install<br \/>&#8220;`<\/p>\n<p>\u6267\u884c\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\uff0c\u67e5\u8be2\u7248\u672c\uff1a<\/p>\n<p>&#8220;`bash<br \/>xcodebuild -version<br \/>&#8220;`<\/p>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u4e24\u4e2a\u65b9\u6848\uff0c\u5927\u6982\u7387\u4f60\u5df2\u7ecf\u89e3\u51b3\u4f60\u6240\u9047\u5230\u7684\u95ee\u9898\uff0c\u5982\u679c\u8fd8\u6ca1\u6709\u89e3\u51b3\uff0c\u5e0c\u671b `brew doctor` \u80fd\u591f\u7ed9\u4f60\u5e2e\u52a9\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4211212\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dingdayu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dingdayu \u5982\u679c\u4f60\u4e0d\u60f3\u5b89\u88c5\u90a3\u4e48\u5927\u7684 xcode\uff0c\u6216\u8bb8\u65b9\u6cd5 2\uff0c\u53ef\u4ee5\u76f4\u63a5\u89e3\u51b3\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4211213\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jaylee4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dingdayu \u597d\u8be1\u5f02\uff0c\u90fd\u662f 12.2\uff0c\u6587\u4ef6\u7b7e\u540d\u4e5f\u4e00\u6837\uff0c\u5220\u9664\u540e\u91cd\u65b0\u5b89\u88c5\u5c31\u597d\u4e86\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Homebew on macOS &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/201193"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201193"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/201193\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201193"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}