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

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


  • Subject: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 04 Aug 2012 09:17:46 -0700

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


  • Follow-Ups:
    • Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
      • From: Quincey Morris <email@hidden>
    • Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
      • From: Laurent Daudelin <email@hidden>
  • Prev by Date: Re: NSSpeechSynthesizer leaks memory
  • Next by Date: Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • Previous by thread: Re: No teams showing in organizer
  • Next by thread: Re: Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
  • Index(es):
    • Date
    • Thread