• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SOLVED: Copy Headers build phase broken in 3.1.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOLVED: Copy Headers build phase broken in 3.1.2?


  • Subject: SOLVED: Copy Headers build phase broken in 3.1.2?
  • From: Rick Mann <email@hidden>
  • Date: Fri, 22 May 2009 01:11:04 -0700

I discovered that you have to set each header's role to public (the ones you want copied). That made it all work better.

Note, the only way to do this in the Condensed View appears to be control-clicking on the header file in the Copy Headers build phase.

I still don't know how to add a Copy Headers build phase if there isn't already one in the project.

---------------

I created a Framework project in 3.1.2. It came with a Copy Headers build phase. It seems to automatically add any .h file I create in my project to it. However, these header files never end up in the built framework. Double-clicking on it opens an inspector with only a "Comments" tab.

Reading the Xcode docs about File Copy build phases leaves me confused. It references "Copy Headers" as an example. However, there doesn't appear to be a straightforward way to create a Copy Headers build phase from nothing. None of the pre-supplied destinations is appropriate, and the docs don't indicate that you can use any of the Xcode pre-defined symbols when building up the subpath.

I'm downloading the latest 3.0b5 to try it, but I figure the behavior is unchanged. What's going on?

TIA,
--
Rick

_______________________________________________
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


  • Follow-Ups:
    • Re: SOLVED: Copy Headers build phase broken in 3.1.2?
      • From: Caleb Strockbine <email@hidden>
  • Prev by Date: Newbie question: Can't get Xcode "Build & Run" to run
  • Next by Date: Linking Debug & Release against different libraries
  • Previous by thread: Re: Newbie question: Can't get Xcode "Build & Run" to run
  • Next by thread: Re: SOLVED: Copy Headers build phase broken in 3.1.2?
  • Index(es):
    • Date
    • Thread