Facebook sdk编译错误

时间:2014-12-28 08:57:36

标签: ios xcode swift xcode6-beta6 xcode6-beta5

这个错误是什么意思?

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

clang:错误linker command failed with exit code 1 (use -v to see invocation)

1 个答案:

答案 0 :(得分:0)

您似乎遇到了架构问题。检查一下:

enter image description here

正常的$ ARCHS_STANDARD现在包含64位。你也可以做$(ARCHS_STANDARD)和armv7s。只需包含$ ARCHS_STANDARD作为架构。希望这有助于.. :))