我剛剛打開了一個項目,我在幾個月內沒有工作過,只是試圖編譯並運行它。clang:錯誤:連接器命令失敗,退出代碼爲1
我立刻找來:
Undefined symbols for architecture i386:
"l_OBJC_PROTOCOL_$_VideoOverviewControllerDelegate", referenced from:
l_OBJC_CLASS_PROTOCOLS_$_FeaturedViewController in FeaturedViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1
並沒有清潔的量幫助這個錯誤。我檢查了錯誤中引用的兩個類,但找不到任何錯誤。
修復它如果您有重複的符號,錯誤信息將最有可能是從什麼OP是看到不同的。 – Mysticial
@Mysticial有一點。錯誤信息可能類似於:「架構中找到的重複符號」,而不是OP列出的內容。 –