【问题标题】:Errors: Expected declaration, Use of undeclared type 'Object', Use of undeclared type 'JSON'错误:预期声明、使用未声明类型“对象”、使用未声明类型“JSON”
【发布时间】:2016-03-29 08:32:23
【问题描述】:

开始在我的 iOS 应用程序中集成 ObjectMapper 以将对象映射到实体。但是出现错误

Errors: Expected declaration, Use of undeclared type 'Object', Use of undeclared type 'JSON'

【问题讨论】:

  • 您需要升级到 Xcode 7.3。
  • @jtbandes 你能告诉我是什么原因,所以我需要更新 Xcode。

标签: json swift objectmapper


【解决方案1】:

如果您是 ObjectMapper 1.2.0 及更高版本,则需要 Xcode 7.3

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-10-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多