2014-12-28 69 views
2

這個錯誤是什麼意思?Facebook sdk編譯錯誤

ld: warning: ignoring file /Users/pramonowang/Desktop/FacebookSDK/Bolts.framework/Bolts, 
↳ missing required architecture x86_64 in file 
↳ /Users/pramonowang/Desktop/FacebookSDK/Bolts.framework/Bolts (2 slices) 

用於建築x86_64的未定義符號:

「_builtInOpenGraphObjects」,從引用:

-[RPSGameViewController shareGameActivity] in RPSGameViewController.o 

    -[RPSGameViewController createGameObject] in RPSGameViewController.o 

ld: symbol(s) not found for architecture x86_64 

鐺:錯誤linker command failed with exit code 1 (use -v to see invocation)

回答

0

你似乎有問題,建築。檢查:

enter image description here

由於正常的$ ARCHS_STANDARD現在有64位。你也可以做$(ARCHS_STANDARD)和armv7s。只需包含$ ARCHS_STANDARD作爲架構。希望這可以幫助.. :)

+0

我確實有$ ARCHS_STANDARD,雖然就像圖片一樣。有什麼可能爲什麼我的代碼錯誤? – user2557607

+0

@ user2557607>您是否已將gamekit添加到您的項目中? – Rashad

+0

是的,我做到了。我是不是該 ? – user2557607