ObjectMapper, Carthage, and Xcode 6.3 error



有一个使用迦太基作为依赖项的项目。 最近更新到 Xcode 6.3 和 Swift 1.2。 发生这种情况时,我还必须更新我的购物车文件,现在是:

github "Alamofire/Alamofire">= 1.2

github "SwiftyJSON/SwiftyJSON">= 2.2

github "Hearst-DD/ObjectMapper" ~> 0.9

然而,ObjectMapper似乎无法编译。 运行"迦太基更新"时,我得到:

The following build commands failed:
CompileSwift normal x86_64 .../Carthage/Checkouts/ObjectMapper/ObjectMapper/Core/Mapper.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

看起来在 ObjectMapper 上工作的人已经包含了支持最新 Swift/Xcode 的更改,并且没有看到其他人在这方面有问题。 希望对此错误消息有任何见解:)

ObjectMapper 的 0.9 版不包含对 swift 1.2/Xcode 6.3 的支持。如果您使用最新版本,您应该很高兴:

"Hearst-DD/ObjectMapper" ~> 0.11

最新更新