iphone - Sharekit - 架构 i386 的 ndefine 符号 :

标签 iphone ios objective-c xcode sharekit

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/

相关文章:

iphone - 如何检索用户当前所在城市的名称?

ios - 相机直接到 iOS 上的 OpenGL 纹理

ios - 如何在 objective-c 中保存 cookie?

ios - 如何设置 future 日期的通知时间戳?

ios - 使用 IOS 设备的蓝牙连接

ios - 创建一个格式数组[][@"string"];

objective-c - iOS 新手。预期的表达错误?

iphone - 获取被触摸的按钮的标题

ios - 在类似于App Store "Description"Cell的UITableViewCell中扩展UITextView

android - 适用于 iOS 和 Android 的 Yammer URL 移动深层链接