Run Script Build Phase and Copy Files Build Phase
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