Getting “symbol(s) not found” when building your iPhone application
August 16th, 2008I just wasted like 30 minutes having a major WTF-experience. I was getting “symbol(s) not found” errors when compiling my iPhone application for calls to CoreGraphics objects. What you have to do is add the CoreGraphics.framework to your application. Easy, hu? Not so easy! There are two different CoreGraphics.frameworks and adding the one which is used for the real world iPhone wont compile (or rather link, as linking is where the error occurs) for the iPhone simulator! So make sure you have added the right framework. For the real iPhone it should be located at
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/CoreGraphics.framework
Happy compiling!
