0
我想構建和研究來自Apple的演示項目Son of Grab。建設蘋果的「抓子之子」項目
我下載了檔案並用Xcode 6.1打開了項目。構建失敗,與錯誤:
Undefined symbols for architecture x86_64:
"_ChangeBits", referenced from:
-[Controller awakeFromNib] in Controller.o
-[Controller toggleOffscreenWindows:] in Controller.o
-[Controller toggleDesktopWindows:] in Controller.o
-[Controller toggleFramingEffects:] in Controller.o
-[Controller toggleOpaqueImage:] in Controller.o
-[Controller toggleShadowsOnly:] in Controller.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我試圖改變基礎SDK 10.6 10.7接着,希望代碼依賴於過時的SDK。但是它仍然會失敗,並出現相同的錯誤。