• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode ignores frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode ignores frameworks
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Xcode ignores frameworks (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Xcode ignores frameworks
  • Next by Date: Re: Xcode ignores frameworks
  • Previous by thread: Xcode ignores frameworks
  • Next by thread: Re: Xcode ignores frameworks
  • Index(es):
    • Date
    • Thread