XCode Error: ld: library not found for -lcrt1.10.5.o

Hi!

My program exists with the error

ld returned 1 exit status

and complains about the missing lib -lcrt1.10.5.o

+Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1+


I am using my own macbook (macos 10.6.3) with XCode (3.2.2) and everything works fine. But if i am copying my project to my worksplace station (macos 10.5.8) with XCode 10.5.8 - this error appears.

This error is happening the first time. I could, without any problems copy my project to the workplace mac. The only thing (i think) i was adjusting was the stuff about the deployment OS.

any ideas?

alex

macbook air, Mac OS X (10.5.5)

Posted on May 24, 2010 3:42 AM

Reply
4 replies

May 24, 2010 9:40 AM in response to sommeralex

Sorry, I didn't see iPhone in there at all. In this case, you are probably going to need to install the older Xcode 3.1 (or whatever is on the 10.5 machine) on your 10.6 machine. You can have multiple Xcodes installed, it just makes things a hassle sometimes. Then, create/fix your project using the 3.1 version of Xcode.

The above steps should be guaranteed to work. It is also probably worth trying to change your Xcode version on the one project to be 3.1 compatible and see if that helps. It would be easiest and best to just upgrade all the Xcode versions to the latest.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

XCode Error: ld: library not found for -lcrt1.10.5.o

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.