Skip navigation

cocoa.h doesn't exist

2212 Views 5 Replies Latest reply: Jan 11, 2013 1:11 AM by aardwearing RSS
Joe Veranth Calculating status...
Currently Being Moderated
Aug 24, 2012 10:52 AM

I am new to Mac development and just downloaded Mountain Lion and Xcode 4.4.1.  When I try to follow the "getting started" example or simply download and try to run any of the example code projects I get the error "Cocoa/Cocoa.h file not found".  I have searched for cocoa.h in my computer with no success. XCode gives its path as /System/Library/Frameworks/Cocoa.framework but when I go there and look in Versions/A I find nothing.  Where do I obtain this file?

iMac, OS X Mountain Lion (10.8.1)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.