2014-06-21 123 views
1

我收到以下错误。它工作正常,我不知道是什么导致了这个问题。错误:架构的未定义符号

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

似乎你的CrashReporter不支持arm64架构。 尝试从“Build Settings”选项卡中的“Valid Architectures”列表中删除arm64。 – arturdev

+1

这可能是有用的http://stackoverflow.com/questions/22331908/xcode-5-1-missing-required-architecture-arm64 –

回答

0

选择您的项目,转至Build Settings并查看Architectures。您应该从ArchitecturesValid Architectures中删除arm64并再次构建应用程序。

相关问题