错误:架构的未定义符号

时间:2014-06-21 12:34:51

标签: ios objective-c xcode ios7 xcode5

我收到以下错误。它工作正常,我不知道是什么导致了这个问题。

ld: warning: ignoring file /Users/akashpatel/Developer/iOS_development/FantasyCricket/Fantasy_cricket/Library/JMC/JMCClasses/Libraries/CrashReporter.framework/CrashReporter, missing required architecture arm64 in file /Users/akashpatel/Developer/iOS_development/FantasyCricket/Fantasy_cricket/Library/JMC/JMCClasses/Libraries/CrashReporter.framework/CrashReporter (3 slices)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_PLCrashReport", referenced from:
      objc-class-ref in CrashReporter.o
  "_OBJC_CLASS_$_PLCrashReporter", referenced from:
      objc-class-ref in CrashReporter.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我尝试从项目中删除并添加CrashReporter

1 个答案:

答案 0 :(得分:0)

选择您的项目,转到Build Settings并查看Architectures。您应该从Architectures以及Valid Architectures删除 arm64 并再次构建应用。