Migrating from Xcode 3: "Cocoa/Cocoa.h" not found
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