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)
我用谷歌搜索了很多,但找不到适合我的任何东西。我已按照安装指南一步一步进行操作,我已经三次检查是否已添加所需的所有框架,我阅读并尝试了此 "symbol(s) not found for architecture i386" problem using ShareKit但仍然出现此错误...请帮忙!
最佳答案
经过 12 个小时的疯狂之后,我意识到我的文件夹树是错误的。你可以通过 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 的 ndefine 符号 :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15813802/