2014-06-21 122 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並再次構建應用程序。

相關問題