I created a new target template in Xcode

In my office, I use a certain framework for unit testing. Setting up my unit tests are pretty predictable and have the same naming convention, no matter what project I apply the unit testing to.

Now, when I looked over how I was setting up the unit-testing target, I saw that I am actually repeating a lot of steps, over and over again.

I thought, wouldn’t it be cool if I had a custom target of my own that would have everything needed for this supporting this framework? I looked into that and this is not a well documented feature… or at least, I’m not finding the documentation on how to do this.

After dissecting a couple of pre-existing templates, I knew enough to make my own template and voila! I made my own template. But why stop there? I also made my own custom files that I usually cook up too for this framework 🙂

If anyone knows of any documentation on how to do this properly, I would love to hear from you!

Microsoft has a page for it: http://msdn.microsoft.com/en-us/library/ff527340.aspx

Maybe Apple has one too.

Leave a Reply

Your email address will not be published. Required fields are marked *