Re: making a framework...
Re: making a framework...
- Subject: Re: making a framework...
- From: Peter Lau <email@hidden>
- Date: Mon, 22 Aug 2005 17:31:31 -0400
On Aug 22, 05, at 5:01 PM, Chris Hanson wrote:
On Aug 22, 2005, at 1:46 PM, Peter Lau wrote:
On Aug 22, 05, at 3:49 PM, Chris Hanson wrote:
Is your header a member of the target containing the Copy Headers
build phase that you're trying to drag to (not just the project)?
If the header file (.h) is not being reference in the project in
the "Files" section on my Project window, I cannot drag that file
(.h) from Finder to Copy Headers area in the "Target" section.
The project window just wouldn't accept the drag.
Xcode has two separate but related concepts: File references and
target membership. A project has file references. All of a
project's file references are listed in the Groups & Files pane of
your project window. A file reference can be a member of one or
more targets within a project. When a file reference is a member
of a target, that means it can be acted upon by one of that
target's build phases. (For example, the Copy Headers build phase.)
So it makes some sense that dragging a header file from the Finder
to a Copy Headers build phase would not work if the file doesn't
have a file reference in the project, or if the file reference
isn't a member of the build phase's target.
Thanks for the confirmation. Chris Espinosa replied my original
thread suggesting to drag the header file to the Copy Headers build
phase. But he didn't specify from where and when I tried it from
Finder, the header file is not accepted.
pete
_______________________________________________
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