3

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

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

I uninstalled 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 looks like:

2015-07-24 20:28:09.378 xcodebuild[34313:1668414] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build

The following build commands failed:

CompileSwift normal arm64 {Path to swift file}

CompileSwift normal arm64 {Path to swift file}

CompileSwift normal arm64 {Path to swift file}

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

1
  • Whatdoes the command line look like? Commented Jul 25, 2015 at 0:25

2 Answers 2

7

This was a bug in CocoaPods 0.38.1 as this issue indicates. So this is probably fixed in future versions of CocoaPods.

What you can do to fix the problem temporarily before a new CocoaPods release: the bug is that somewhere in the private xcconfig files, there is missing a space before -isystem

EDIT:

A new version of Cocoapods (0.38.2) is released that fixes this issue

Sign up to request clarification or add additional context in comments.

Comments

3

CocoaPods 0.38.2 is now released. It fixes the issue.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.