Can you create a "superset" target in Xcode ?
Posted
by thrusty
on Stack Overflow
See other posts from Stack Overflow
or by thrusty
Published on 2009-01-05T02:00:52Z
Indexed on
2010/06/03
10:44 UTC
Read the original article
Hit count: 249
For the purposes of unit testing I'd like to create an iPhone project target in Xcode that includes all of the release application files, plus some additional files containing code useful for UI unit testing.
I can do this by duplicating the original application target; however, the problem with this is that every time I add a new source file to the app target, I need to also add it to the UnitTestUI target. It's not a big deal, just inconvenient to always remember to add files to both targets.
Is there some way to set up a dependency so that every file added to the original app target is also auto added the unit test target?
© Stack Overflow or respective owner