Adding files and frameworks to xcode automatically after build button

Hello I am working on building a plugin for the iPhone, i have all of my code written i just need it so my files get automatically added to the project after the build button is hit. I have seen that some people use applescript to accomplish this, is there some kind of documentation i can look at to do this?

Thanks for the help

You’ll need to use the PostprocessBuildPlayer script to do this. From what I’ve read though it’s best not to use the applescript approach but to use python -for instance- instead.

The actual process can be a little complicated, and is different depending on what exactly you want to achieve. However, hopefully what this post discusses is similar enough to what you want to achieve, and you’ll find it useful.