Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Wednesday, April 25 2018 @ 08:03 AM BST

How to solve the "Cocoa/Cocoa.h" not found problem?

   
ProjectBuilder-XCodeWhen downloading example projects from some site I got an error at the compiling of the precompiled header, where the compiler complains about system frameworks not to be there ?
Why and how to solve ?

When another developer install on its machine the various SDK for each Mac OS X release, the projects he creates with Xcode have a setting describing which SDK to use.
When using this project on a machine without the SDKs installed, Xcode complains about "missing" system frameworks.
In the project window, select the project in the "Groups and Files" outline view (the first line with the small Xcode document icon), show the infos and the pop-up "Cross-Develop Using Target SDK" choose the adequate one for your configuration.
 

What's Related

Story Options

How to solve the "Cocoa/Cocoa.h" not found problem? | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2018 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.04 seconds