Skip navigation.
 
mlRe: Header Files Copied into App Bundle - Why?
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

Related mailsAuthorDate
mlHeader Files Copied into App Bundle - Why? David Emme Jul 18, 19:40
mlRe: Header Files Copied into App Bundle - Why? Nick Zitzmann Jul 18, 20:18
mlRe: Header Files Copied into App Bundle - Why? Gorazd Krosl Jul 18, 21:20
mlRe: Header Files Copied into App Bundle - Why? Chris Hanson Jul 18, 21:32
mlRe: Header Files Copied into App Bundle - Why? David Emme Jul 18, 22:09