【发布时间】:2015-07-25 00:23:56
【问题描述】:
我刚刚使用 CocoaPods 为我的 Swift iOS 项目安装了一个额外的依赖项 (HockeyAppSDK),现在我的项目在构建过程中失败,给了我错误:
clang: error: 在生成多个输出文件时不能指定-o
我卸载了依赖项,但项目在构建过程中仍然失败,并出现同样的错误。有想法该怎么解决这个吗?
编辑: 使用 xcode cli 构建时,错误如下所示:
2015-07-24 20:28:09.378 xcodebuild[34313:1668414] 流错误:偏移量 29 处的流错误:由不受支持的 XCDependencyGraph 构建创建
以下构建命令失败:
CompileSwift normal arm64 {path to swift file}
CompileSwift normal arm64 {path to swift file}
CompileSwift normal arm64 {path to swift file}
CompileSwiftSources 正常 arm64 com.apple.xcode.tools.swift.compile
【问题讨论】:
-
命令行是什么样子的?