我收到以下错误。它工作正常,我不知道是什么导致了这个问题。
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
。
答案 0 :(得分:0)
选择您的项目,转到Build Settings
并查看Architectures
。您应该从Architectures
以及Valid Architectures
删除 arm64 并再次构建应用。