Undefined symbols for architecture i386:
"_OBJC_CLASS_$_EvernoteSession", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SHK", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SHKConfiguration", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SHKFacebook", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SHKGooglePlus", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我在Google上搜索了很多,但找不到适合我的anithyng。我已逐步按照安装指南进行操作,已三重检查是否已添加了所需的所有框架,我已阅读并尝试了此"symbol(s) not found for architecture i386" problem using ShareKit,但仍然收到此错误...请帮助!
最佳答案
经过十二个小时的疯狂,我意识到我的文件夹树是错误的。您可以通过git下载文件(对于像我这样的图标推送程序也很容易下载)或通过浏览器下载文件,但是您必须支付注意的结果是:
Project Root
|
|-Submodules
|
|-ShareKit
|
|-Submodules
|
|-All the subfolder with files (notice that if you download it as .zip from github, the folder will be created but they are EMPTY!
如果您与此有所不同,将会遇到巨大且不可预测的问题!
谢谢大家的帮助。
PS:我建议尝试将ShareKit添加到一个新的空项目中,只是为了熟悉它并保存您的真实项目。
关于iphone - Sharekit-用于体系结构i386的ndefined符号:,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15813802/