Search code examples
xcodexcode4.1

Command libtool failed with exit code 1


I've created a static library C++ project but when I compile I get the following error:

XCode Error Message

XCode 4.1 (Lion) doesn't show me any more information what's going wrong. I'm using clang.

How can I find out what went wrong?


Solution

  • I have read elsewhere, and confirmed myself, that the problem is that Xcode is suppressing the output from stdout.

    As a work around, in Xcode, flip open the display of the commands being executed and copy and paste them into a Terminal session and run lib tool from there.