0

I am getting following error while building my project after adding static library in xcode 4.2

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

2
  • Did this error happen after you linked your project with the library or after you tried to add a header from the library into one of your source files? Commented Jan 30, 2012 at 14:21
  • Also, are you dding just the .a library file or are you adding the xcodeproj for the library to your xcodeproj? Commented Jan 30, 2012 at 14:26

1 Answer 1

0

You may beed to add some other linker flags to the build settings of your target. Check out the Build Settings in your target. enter image description here

Usually this fixes the linking problem with static libraries.

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.