万向节示例项目(Mallmart)架构armv7的未定义符号:

时间:2013-01-05 12:48:43

标签: ios xcode

我正在尝试从云台https://www.gimbal.com/

运行示例项目(Mallmart)

Mallmart已成功运行,但当我尝试使用IR运行Mallmart时出现此错误

Undefined symbols for architecture armv7:
  "QCAR::State::getNumActiveTrackables() const", referenced from:
      -[EAGLView renderFrameQCAR] in ContextIR
  "_OBJC_CLASS_$_CMMotionManager", referenced from:
      objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
  "QCAR::State::getActiveTrackable(int) const", referenced from:
      -[EAGLView renderFrameQCAR] in ContextIR
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我尝试从vuforia-sdk-ios-2-0-29添加libQCAR.a,但我仍然遇到此错误

有人可以帮我解决这个问题吗?

抱歉我的英语不好,我希望你明白我的意思。

非常感谢

1 个答案:

答案 0 :(得分:0)

在项目目标构建设置上,您应从有效体系结构中删除 armv7s

很可能没有为此架构编译 libQCAR.a 。通过从项目中删除它,它将不再尝试在此体系结构中编译您的项目,这应该可以解决您的问题。

即使您没有编译armv7s,您的应用仍然可以在较新的iOS设备上运行,但它不会对该架构进行所有优化。