简体   繁体   English

Facebook SDK编译错误

[英]Facebook sdk compiling error

What does this error mean? 这个错误是什么意思?

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)

Undefined symbols for architecture x86_64: 架构x86_64的未定义符号:

"_builtInOpenGraphObjects", referenced from: 从以下位置引用的“ _builtInOpenGraphObjects”:

  -[RPSGameViewController shareGameActivity] in RPSGameViewController.o

  -[RPSGameViewController createGameObject] in RPSGameViewController.o

ld: symbol(s) not found for architecture x86_64

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

You seems to have problem with Architecture. 您似乎对体系结构有疑问。 Check this: 检查一下:

在此处输入图片说明

As the normal $ARCHS_STANDARD now includes 64-bit. 由于普通的$ ARCHS_STANDARD现在包括64位。 You can also do $(ARCHS_STANDARD) and armv7s. 您还可以执行$(ARCHS_STANDARD)和armv7s。 Just include $ARCHS_STANDARD as architecture. 只需包含$ ARCHS_STANDARD作为体系结构即可。 Hope this helps.. :) 希望这可以帮助.. :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM