ios - xcode 6 - 未找到架构 i386 (zbar) 的符号

标签 ios xcode zbar

我有一个使用 zbar-sdk(条形码扫描库)的项目。

将我的机器更新到 xcode 6 后,我遇到了一些麻烦。
请帮我解决这个问题。

架构 i386 的 undefined symbol :

"_OBJC_CLASS_$_ZBarReaderViewController", referenced from:
  objc-class-ref in MenuListViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

您必须导入 AVFoundation 和 AudioToolbox 框架,并设置运行库所需的 i386 armv6 armv7 armv7s 架构

关于ios - xcode 6 - 未找到架构 i386 (zbar) 的符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26060733/

相关文章:

python - 如何解决 Python 的 'Pyzbar' 库的导入错误?

java - 在项目 libgdx 中创建没有 RoboVM 的 ipa

ios - 查看后如何删除通知中心的推送通知

objective-c - 为什么在 XCode4 中创建新的 Objective-C 类文件不会创建 "An Objective-C class, with a header that includes the <Cocoa/Cocoa.h> header."

swift - 试图了解 AudioKit 中 AKFFTTap 的输出

android - 使用嵌入在框架android中的条码扫描器

python - 如何使用 zbar 获取图像上检测到的二维码的 x、y 位置?

ios - Core Spotlight,objective-c 中的 continueUserActivity?

c# - 以编程方式锁定屏幕

ios - Storyboard上的自动排列 View