Xcode错误架构i386的未定义符号

时间:2014-09-25 06:26:16

标签: ios xcode architecture undefined helper

嘿伙计们,当我从另一台计算机导入我的项目时,你能帮助这件事,我不知道该怎么办?请帮我。

ld: warning: ignoring file /Users/Barbaraderoover/Desktop/BizCards-localCopy/Mitek     Hackathon/misnapsdk/libMiSnap.a, missing required architecture i386 in file /Users/Barbaraderoover/Desktop/BizCards-localCopy/Mitek Hackathon/misnapsdk/libMiSnap.a (3 slices)
    Undefined symbols for architecture i386:
      "_OBJC_CLASS_$_MiSnapViewController", referenced from:
          objc-class-ref in CardViewController.o
      "_kMiSnapAllowVideoFrames", referenced from:
          -[CardViewController takeButtonPressed:] in CardViewController.o
      "_kMiSnapMIPServerVersion", referenced from:
          -[CardViewController takeButtonPressed:] in CardViewController.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:0)

看起来缺少libMiSnap.a或以前配置的路径现在无效。 请尝试以下:

  1. 查找您是否可以在源文件夹中找到libMiSnap.a。如果在以前的计算机中找不到。
  2. 在目标构建阶段再次添加 - >链接二进制文件与库。 3.清理您的项目并再次运行

答案 1 :(得分:0)

对于迟到的回复感到抱歉。但这可能在将来帮助某人。 尝试将部署目标更改为6.0。它对我有用。

相关问题