FROM : Chris Hanson
DATE : Tue Jul 18 21:32:59 2006
On Jul 18, 2006, at 10:40 AM, David Emme wrote:
> Why is it copying the .h files into the app bundle?
It's copying them because you're making them a member of the target
that produces your application, but there is no Copy Headers build
phase in the target. The fact that there's no such build phase in
the target is by design; this build phase is only intended to be used
when creating frameworks, and header files don't need to be members
of a target just because they're in a project.
If you do make a header file a member of a target, it will be routed
to the most appropriate available build phase; without a Copy Headers
build phase, it will be be routed to the target's Copy Bundle
Resources build phase.
What version of Xcode are you using?
-- Chris
DATE : Tue Jul 18 21:32:59 2006
On Jul 18, 2006, at 10:40 AM, David Emme wrote:
> Why is it copying the .h files into the app bundle?
It's copying them because you're making them a member of the target
that produces your application, but there is no Copy Headers build
phase in the target. The fact that there's no such build phase in
the target is by design; this build phase is only intended to be used
when creating frameworks, and header files don't need to be members
of a target just because they're in a project.
If you do make a header file a member of a target, it will be routed
to the most appropriate available build phase; without a Copy Headers
build phase, it will be be routed to the target's Copy Bundle
Resources build phase.
What version of Xcode are you using?
-- Chris
| Related mails | Author | Date |
|---|---|---|
| David Emme | Jul 18, 19:40 | |
| Nick Zitzmann | Jul 18, 20:18 | |
| Gorazd Krosl | Jul 18, 21:20 | |
| Chris Hanson | Jul 18, 21:32 | |
| David Emme | Jul 18, 22:09 |






Cocoa mail archive

