0

Randomly im getting the following error from xcodebuild (iOS 5.0 SDK - Apple LLVM 3.0):

clang: error: cannot specify -o when generating multiple output files
Verify exit code of build task 'CompileC SomeViewController.m'
Build task failed without generating error messages.

On the next try it works fine, and than randomly the error happens again. Im using xcodebuild on an continuous integration system, so every time this happens the build goes red :(

Any ideas?

3
  • Are you doing clean builds every time on your continuous integration system? Can you include more output from the log when this happens? Commented Mar 9, 2012 at 16:59
  • Yes clean on every build. There isn't more output that has to do with this error. :( Commented Mar 12, 2012 at 8:35
  • It would help to see the compile command that is being run by the build system, to figure out where the extra -o is coming from. That was the output I was looking for. Commented Mar 22, 2012 at 17:44

1 Answer 1

1

The Xcode 4.3.1 update with the LLVM 3.1 compiler solved the problem for me.

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

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.