Skip to content

Error compiling for iPhone SDK 2.2

After upgrading to iPhone SDK 2.2 and updating my iPod Touch’s Firmware to 2.2 (hell yeah, i love the option to disable automatic spellchecking!!!), i got an error building my iPhone Project:

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

The solution:

The error indicates some error when crosscompiling similar to crosscompiling from OS X 10.5?to Mac OS X 10.4?.

I checked the settings for my project and found that i had still set “Device – iPhone OS 2.1” as my Base SDK. After changing the Base SDK to the most recent (and installed) version of the SDK it worked:

iPhone SDK 2.2 Base SDK setting

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.