簡體   English   中英

Go tour 不會在 Mac 上構建

[英]Go tour won't build on Mac

我在 Mac 上安裝了 Go,沒問題。 我正在瀏覽 ( https://tour.golang.org/welcome/3 ),其中包括本地包、下載包和自動化測試的示例,因此這是我的安裝正常的合理證據。 然后我看到有一個選項可以安裝游覽以供離線使用。 因此,按照指示,我運行“go get golang.org/x/tour”並得到大量錯誤,從以下開始:

# runtime/cgo
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd

我在這里可能做錯了什么?

從你提供的信息來看,我認為你沒有做錯任何事情。 但這些信息不足以理解您為什么會遇到問題。

由於您正確地遵循了指示,這可能是程序中的錯誤、安裝說明中的錯誤或您的環境中的異常情況。

我建議在golang.org/issue/new 上使用“x/tour:”前綴提交問題,並提供其提出的問題的完整答案,以便對其進行調查。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM