Re: Xcode ignores frameworks
Re: Xcode ignores frameworks
- Subject: Re: Xcode ignores frameworks
- From: Michael Babin <email@hidden>
- Date: Sat, 15 Oct 2011 06:36:49 -0500
On Oct 15, 2011, at 4:01 AM, Gerriet M. Denkmann wrote:
> I have an iOS project, which builds fine for device.
> But building for Simulator I get:
>
> ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework/Foundation, missing required architecture i386 in file
>
> And then, as there is no Foundation, I get a lot off errors like:
> Undefined symbols for architecture i386:
> "_objc_msgSend", referenced from:
> _main in main.o [...].
>
> I created a new empty iOS project (which builds without any problems) and everything seems to be identical with my build settings.
>
> But obviously there must be some subtle difference somewhere.
> Any ideas?
Check the Foundation framework entry in your problematic project file and make sure the location is set to "Relative to SDK", /System/Library/Frameworks/Foundation.framework.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden