• 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: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found


  • Subject: Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • From: Laurent Daudelin <email@hidden>
  • Date: Sat, 04 Aug 2012 10:18:01 -0700

This is possibly because your project references the installed, real frameworks, which don't contain headers anymore. If I remember correctly what I had to do, you'll have to go in the build phase and remove the old framework references by adding the framework again by clicking the "+" button.

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software					email@hidden

On Aug 4, 2012, at 09:17, Jerry Krinock <email@hidden> wrote:

> Well, yesterday I decided to bite the bullet and migrate a large project from Xcode 3 to Xcode 4.  I've been stuck on one error for a while now.  It  occurs when building either of two private frameworks which are part of the project.
>
> In the .pch file, the line
>
>   #import <Cocoa/Cocoa.h>
>
> produces this error:
>
>   'Cocoa/Cocoa.h' file not found
>
> The same build step also produces the following, which seems like it might be another facet of the same issue…
>
>   warning: The specified SDK “Current OS X” does not appear to have
>   all of the necessary headers installed.  Update your project to
>   use a built-in SDK (“Latest OS X” is recommended) or install the
>   system headers (included with the “Command Line Tools” package)
>   from the “Downloads” pane in the Xcode preferences.
>
> I think my Xcode 4 installation is fine because I can build simpler projects with no problem.
>
> The "Header Search Paths" build setting is empty, as it usually is, and indeed it is empty on a new project created in Xcode 4.
>
> Any clues would be appreciated.
>
> Thank you for reading,
>
> Jerry Krinock


 _______________________________________________
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


References: 
 >Migrating from Xcode 3: "Cocoa/Cocoa.h" not found (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • Next by Date: Re: No teams showing in organizer
  • Previous by thread: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • Next by thread: Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • Index(es):
    • Date
    • Thread