• 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
Missing <Cocoa/Cocoa.h> ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing <Cocoa/Cocoa.h> ??


  • Subject: Missing <Cocoa/Cocoa.h> ??
  • From: Phil Hystad <email@hidden>
  • Date: Mon, 3 Jan 2011 09:47:42 -0800

I just started playing around with Xcode and Cocoa again and doing a few little iPad apps.  When I add a class to the project, (simple NSObject based class) the .h file includes the import for <Cocoa/Cocoa.h>.  But, the build and compile fails because it says this header file is not found.

This happens even if I do absolutely nothing to the class files other then use the regular File create class option.  This can be repeated easily by merely creating an iPad view application shell.  If you do an immediate build it works.  If you were to create a new class as I described (and not modify the generated .h,.m files) the build fails with the Cocoa.h file not being found.

Obviously something is askew in what I am doing.

phil
email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Missing <Cocoa/Cocoa.h> ??
      • From: Roland King <email@hidden>
  • Prev by Date: Recommendations IMAP/POP client library
  • Next by Date: Re: Rendering combining marks
  • Previous by thread: Recommendations IMAP/POP client library
  • Next by thread: Re: Missing <Cocoa/Cocoa.h> ??
  • Index(es):
    • Date
    • Thread