Ios 框架示例项目(Mallmart)架构armv7的未定义符号:

Ios 框架示例项目(Mallmart)架构armv7的未定义符号:,ios,xcode,Ios,Xcode,我正在尝试从gimbal运行示例项目(Mallmart) Mallmart已成功运行,但当我尝试使用IR运行Mallmart时,出现了此错误 Undefined symbols for architecture armv7: "QCAR::State::getNumActiveTrackables() const", referenced from: -[EAGLView renderFrameQCAR] in ContextIR "_OBJC_CLASS_$_CMMotio

我正在尝试从gimbal运行示例项目(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,但仍然出现此错误

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)
有人能帮我解决这个问题吗

对不起,我的英语不好,我希望你明白我的意思


非常感谢您

关于您的项目目标构建设置您应该从有效架构中删除armv7s

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

即使您没有为ARMV7编译,您的应用程序仍可以在较新的iOS设备上运行,但它不会对该体系结构进行所有优化