亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在 macOS 上安裝 TinyGo 導致命令行工具 (CLT) SDK 文件夾名稱不匹配

在 macOS 上安裝 TinyGo 導致命令行工具 (CLT) SDK 文件夾名稱不匹配

Go
森林海 2022-12-26 10:35:00
當按照macOS 的 TinyGo 快速安裝指南進行操作時,我遇到了以下錯誤:Error: The contents of the SDKs in your Command Line Tools (CLT) installation do not match the SDK folder names.% brew install tinygo==> Installing tinygo from tinygo-org/toolsError: The contents of the SDKs in your Command Line Tools (CLT) installation do not match the SDK folder names.A clean reinstall of Command Line Tools (CLT) should fix this.完整的安裝說明只是兩個命令:% brew tap tinygo-org/tools% brew install tinygoCLT 當前安裝在/Library/Developer/CommandLineTools如下所示xcode-select --print-path:% xcode-select --print-path/Library/Developer/CommandLineToolspkgutil顯示我有最新的安裝:% pkgutil --pkg-info=com.apple.pkg.CLTools_Executablespackage-id: com.apple.pkg.CLTools_Executablesversion: 13.4.0.0.1.1651278267volume: /location: /install-time: 1654474872groups: com.apple.FindSystemFiles.pkg-group 重新安裝命令行工具導致路徑相同并在本文“如何在 Mac OS X 中安裝命令行工具(無 Xcode) ”中得到確認。TinyGo 想要將命令行工具安裝在哪里,如何安裝在那里?
查看完整描述

1 回答

?
揚帆大魚

TA貢獻1799條經驗 獲得超9個贊

TinyGo 的 macOS 安裝程序需要在完全安裝 Xcode 時使用的備用位置安裝命令行工具(不僅僅是命令行工具)/Applications/Xcode.app/Contents/Developer:.

安裝 Xcode(比 CLT 大得多的包)后,xcode-select將顯示啟用 TinyGo 的備用位置:

% xcode-select --print-path
/Applications/Xcode.app/Contents/Developer


查看完整回答
反對 回復 2022-12-26
  • 1 回答
  • 0 關注
  • 380 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號