• 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
Re: How to unconditionally copy headers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to unconditionally copy headers?


  • Subject: Re: How to unconditionally copy headers?
  • From: Philip Aker <email@hidden>
  • Date: Sat, 1 Aug 2009 22:49:02 -0700

On 2009-08-01, at 13:24:28, Bruce Sharpe wrote:

Yes, thanks. I started out doing that, there were some subtleties, so I thought I'd try a more Xcode-standard way. But for now I'll revert to Run Script.

It seems to me that the Private Headers Folder path is only meaningful relative to something like ${TARGET_BUILD_DIR}
I set this path to ${HOME} and the result is the similar to what you have posted.


Xcode Build Setting Reference

PRIVATE_HEADERS_FOLDER_PATH

Description: Bundle directory path. Specifies the directory that contains the product’s private header files.

Effector: “CONTENTS_FOLDER_PATH.”

Default value: $CONTENTS_FOLDER_PATH/Contents/PrivateHeaders

Example value: MyProduct.bundle/Contents/PrivateHeaders



I.e., the file gets copied to a subfolder of the build directory instead of to the absolute path I specified.


Use a Run Script script build phase to copy the header to the desired location (cp -f e.g.).



Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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:
    • Batch build?
      • From: Lennart Thelander <email@hidden>
References: 
 >How to unconditionally copy headers? (From: Bruce Sharpe <email@hidden>)
 >Re: How to unconditionally copy headers? (From: Chris Espinosa <email@hidden>)
 >Re: How to unconditionally copy headers? (From: Bruce Sharpe <email@hidden>)
 >Re: How to unconditionally copy headers? (From: Philip Aker <email@hidden>)
 >Re: How to unconditionally copy headers? (From: Bruce Sharpe <email@hidden>)

  • Prev by Date: Re: How to unconditionally copy headers?
  • Next by Date: Well I am new to Objective-C
  • Previous by thread: Re: How to unconditionally copy headers?
  • Next by thread: Batch build?
  • Index(es):
    • Date
    • Thread