构建在真实设备上有错误

时间:2013-12-25 04:01:27

标签: ios iphone objective-c

当我在真实设备上运行时,它会显示错误,但它在模拟器上运行正常。我该如何解决这个问题?请帮我。感谢

 ld: warning: ignoring file /Users/alex/Desktop/FitnessApplication/RazerSynapseSDK.framework/RazerSynapseSDK, missing required architecture armv7 in file /Users/alex/Desktop/FitnessApplication/RazerSynapseSDK.framework/RazerSynapseSDK (2 slices)
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_RzUser", referenced from:
      objc-class-ref in LoginViewController.o
      objc-class-ref in SignUpViewController.o
      objc-class-ref in ForgotPassViewController.o
      objc-class-ref in UserInfoViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 个答案:

答案 0 :(得分:1)

转到项目 - >构建设置 - >架构并添加armv6,armv7。

删除armv7s。类似地,对于target->构建设置 - >架构。

armv定义正在使用的指令集族。