佛系程序员
首页
栏目
标签
归档
关于
友链
佛系程序员
首页
栏目
标签
归档
友链
关于
老Mac安装Xcode Command Line Tools 13.1
chatGPT
兴趣爱好
发布日期: 2024-09-12 17:46:54
喜欢量: 0 个
阅读次数:
531
原本是为了运行一个node+vue项目,结果...
<p>这台Mid 2014</p><p>MacOS Big Sur</p><p>版本11.17.4<br>MacBook Pro (Retina, 15-inch, Mid 2014)<br></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 12px;"><span style="font-size: 14px;">处理器:2.2 GHz</span> </span><span class="s1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; line-height: normal; font-family: "PingFang SC"; font-size: 14px;">四核</span><span style="font-size: 14px;">Intel Core i7</span></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 14px;">内存:16 GB 1600 MHz DDR3</span><br></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 14px;">图形卡:Intel Iris Pro 1536 MB</span><br></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 14px;">序列号:C02NDAEHG3QC</span></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><br></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 14px;">今天安装一个Xocde Command Line Tool</span></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgba(0, 0, 0, 0.85);"><span style="font-size: 14px;">Command Line Tools</span><br><br><span style="font-size: 14px;">ChatGPT:</span></p><p>For your Mac, which is a Mid 2014 model running macOS Big Sur 11.7.4, you should select the <strong>Command Line Tools for Xcode 12.x</strong> or <strong>13.x</strong> that are compatible with macOS Big Sur.</p><p></p><p>To download the correct version:</p><ol><li>Visit <a rel="noopener" target="_new" href="https://developer.apple.com/download/all/">Apple Developer Download page</a>.</li><li>Search for <strong>Command Line Tools</strong> and select the version corresponding to <strong>macOS 11 (Big Sur)</strong>. You should find versions like:<ul><li><strong>Command Line Tools for Xcode 12.x</strong> (e.g., 12.5, 12.4)</li><li><strong>Command Line Tools for Xcode 13.x</strong> (e.g., 13.1)</li></ul></li></ol><p>These versions will provide the necessary development tools compatible with your macOS version.<br><br>So I choose the 13.1</p><p><br></p><p>搜索如图。https://developer.apple.com/download/all/?q=Command%20Line%20Tools%20for%20Xcode%2013.1</p><p><br></p><p><br></p><p><img src="https://cdn-media.yyii.info/images/2024/11/CommandLineToolsforxcode13.1.jpg" style="width: 751px;"><br></p><p><br></p><p>官网的地址是:<br><a href="https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_13.1/Command_Line_Tools_for_Xcode_13.1.dmg"><u>https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_13.1/Command_Line_Tools_for_Xcode_13.1.dmg</u></a><u></u></p><p><u><br></u></p><p><br>下载可能慢。。</p><p><br>最后运行了一个老项目:web</p><p>node 用的 num use 14<br></p><p>npm cache clean --force</p><p>rm -rf node_modules package-lock.json</p><p>npm install</p><p>npm install node-sass@4.14.1<br>npm run build</p><p>终于安装成功了!<a href="https://cdn-media.yyii.info/zip/Command_Line_Tools_for_Xcode_13.1.dmg" target="_blank" style="background-color: rgb(255, 255, 255);"><span style="font-size: 8px;">7n</span></a></p><p><br></p><p><br></p><br>
文章作者:
yyii
文章链接:
https://amtb.info/show/OTA=
版权声明:
本博客所有文章除特別声明外,转载请注明来源
佛系程序员
!
分享:
搜索