有一个项目使用 Carthage 作为依赖项。最近更新到 Xcode 6.3 和 Swift 1.2。发生这种情况时,我还必须更新我的 Cartfile,现在是:
github“阿拉莫火/阿拉莫火”> = 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 的更改,并且没有看到其他人在这方面有问题。对此错误消息的任何见解将不胜感激:)