My project is currently setup so that the MyApp target includes a few Run Script Build Phases. These scripts depend on the sequence of Build Phases. For example, there's a script that runs before Copy Bundle Resources and another one that runs afterwards.
My test target depends on MyApp, so when I run the tests (Product Menu, Test), I'd like to not include some of these scripts because it slows the testing down.
I thought to create an Aggregate Target which includes MyApp target. Then move the scripts I don't want to run when testing out of MyApp and into the Aggregate. However, I don't see how I can configure the same sequence of when these scripts will run by doing this.
Is there a way to do this? Or perhaps a better solution all together?