Framework not found CoreServices

Posted by Matthew Brindley on Stack Overflow See other posts from Stack Overflow or by Matthew Brindley
Published on 2010-04-05T15:45:30Z Indexed on 2010/04/05 15:53 UTC
Read the original article Hit count: 716

I'm trying to use CoreServices on the iPhone simulator (I don't need it to run on a device), but my project won't build because of the error:

ld: framework not found CoreServices
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

I've added the framework to my project, under frameworks. I also read you need to include CFNetwork.framework, so I've added that too.

If I remove CoreServices.framework, the compiler complains about undeclared symbols, as you'd expect. So it seems to use the framework to compile those classes, but then complains it can't find the framework.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-simulator