"clang: error: cannot specify -o when generating multiple output files" during Swift iOS build

I just installed an additional dependency (HockeyAppSDK) using CocoaPods for my Swift iOS project and now my project crashes during build giving me an error:

clang: error: cannot specify -o when generating multiple output files

I removed the dependency and the project still fails during build with the same error. Any ideas on how to fix this?

EDIT: When building using the xcode cli, the errors look like this:

2015-07-24 20: 28: 09.378 xcodebuild [34313: 1668414] thread error: thread error at offset 29: generated by unsupported XCDependencyGraph construct

The following build commands failed:

CompileSwift normal arm64 {Path to fast file}

CompileSwift normal arm64 {Path to fast file}

CompileSwift normal arm64 {Path to fast file}

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compile

+3


source to share


2 answers


It was a bug in CocoaPods 0.38.1 like this issue . So this is likely to be fixed in future versions of CocoaPods.

What you can do to fix the issue temporarily before releasing CocoaPods: the error is that somewhere in the private xcconfig files there is no space before -isystem



EDIT:

A new version of Cocoapods (0.38.2) has been released which fixes this issue

+7


source


CocoaPods 0.38.2 is now released. He fixes the problem.



+3


source







All Articles