Re: Xcode ignores frameworks
Re: Xcode ignores frameworks
- Subject: Re: Xcode ignores frameworks
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 15 Oct 2011 19:42:18 +0700
On 15 Oct 2011, at 18:36, Michael Babin wrote:
> 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.
Yes. This was one problem.
The other turned out to be that there was a "Framework search path" set.
After I removed this, everything started to work.
Kind regards,
Gerriet.
_______________________________________________
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