【问题标题】:Error : Undefined symbols for architecture错误:架构的未定义符号
【发布时间】:2014-06-21 12:34:51
【问题描述】:

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

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

【问题讨论】:

  • 好像你的 CrashReporter 不支持 arm64 架构。尝试从“构建设置”选项卡的“有效架构”列表中删除 arm64。

标签: ios objective-c xcode ios7 xcode5


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2012-05-20
    • 2017-02-15
    • 1970-01-01
    • 1970-01-01
    • 2014-05-14
    • 2015-11-18
    • 2014-01-22
    • 2016-05-31
    相关资源
    最近更新 更多