这个错误是什么意思?

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)

最佳答案

您似乎对体系结构有疑问。检查一下:

由于普通的$ ARCHS_STANDARD现在包括64位。您还可以执行$(ARCHS_STANDARD)和armv7s。仅包括$ ARCHS_STANDARD作为体系结构。希望这可以帮助.. :)

关于ios - Facebook SDK编译错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27674990/

10-14 16:53