Re: I cannot add a (system) framework to a Cocoa Application
Re: I cannot add a (system) framework to a Cocoa Application
- Subject: Re: I cannot add a (system) framework to a Cocoa Application
- From: Chris Espinosa <email@hidden>
- Date: Fri, 11 Jul 2008 09:17:57 -0700
On Jul 11, 2008, at 5:52 AM, Anders Sommer Lassen
<email@hidden> wrote:
Yes, I know that there are several ways to add a framework.
My problem is that none works, as expected.
This is what I do:
1) I start Xcode
2) I create a new Cocoa Application
3) I compile without error
4) I delete the Cocoa framework under Linked Frameworks
6) I add the Cocoa framework again by ctrl-clicking the Linked
Frameworks and select the Add menu
7) The framework is now added, but there is no headers under the
framework icon
8) and the project cannot compile without error
I think this procedure is the normal way to do this, so I fear that
my Xcode installation is damaged (I have tried to reinstall it).
On Jul 11, 2008, at 12:11 AM, Greg Guerin wrote:
Anders Sommer Lassen wrote:
If I create a new Cocoa Application, and delete the existing Cocoa
framework (which includes the header files), and try and add it
again, the header files is not included.
There are several ways to add a framework to a project in Xcode.
Please list the exact steps you are using. Someone reading your
steps should be able to follow them and either replicate the
problem or confirm that the problem doesn't happen for them.
What it looks like is that you're not using an SDK and have not
installed the System SDK on your development system.
Mac OS X doesn't have headers in /System/Library/Franeworks normally.
You install them with the Xcode Tools installer. If you drag-install /
Developer, it comes with SDK directories that have headers, and if you
use a particular SDK you're fine; but if you build against the system
SDK, and it wasn't installed, this is what you'll see.
Chris
_______________________________________________
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