• 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
Run Script Build Phase and Copy Files Build Phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run Script Build Phase and Copy Files Build Phase


  • Subject: Run Script Build Phase and Copy Files Build Phase
  • From: "Duane Murphy" <email@hidden>
  • Date: Wed, 7 May 2008 22:02:24 -0700

I'm trying to work out the best way to have a Run Script build phase
generate a file that needs to be used by a Copy Files build phase.

The Run Script build phase will process some files into a new file. This
new file is to be added to the Resources folder of the built project (a
framework). What is the best way to make that happen?

I can write the script to assemble the required file, but where should
it be put so that the file can be used for the Copy Files build phase?

And with a little more challenge, how do I handle different build
configurations? That is a different file is generated for the Debug
build than for the Release build. How do I generate a different file for
each build and have the right file get added to the Resources folder at
the end?

It seems like this is an intermediate file (aka like an object file),
but how does the intermediate file get added to the Copy Files build phase?

Thanks for tips,

 ...Duane

 _______________________________________________
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: Run Script Build Phase and Copy Files Build Phase
      • From: Marc Epard <email@hidden>
    • Re: Run Script Build Phase and Copy Files Build Phase
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Select SDK in a Makefile?
  • Next by Date: CFBundleExecutable info?
  • Previous by thread: Re: Select SDK in a Makefile?
  • Next by thread: Re: Run Script Build Phase and Copy Files Build Phase
  • Index(es):
    • Date
    • Thread