I am currently working on projects that has a lot (10+) targets. This is a white branded app, each target is dedicated to a customer, all targets share the exact same code but compile different resources (.xcsassets notably).
I would like to integrate Apple Watch to my project, simply to enable notifications on the watch as well. It requires to add 2 targets, Watchkit Extension and App. (nota : the WatchKit App target will be linked to the same .xcassets than the associated iPhone App to inherit the AppIcon).
While it's ok for a project with only a few targets, this is really not practical in my case. A lot of new files created, .plist across my subversion folders, and make the list of targets really huge.
Would it be possible to share those 2 additional targets to all my customers? Maybe is it possible by using scripts to make the WatchKit App/Extension targets match (updating target name, bundle id, etc) automatically the scheme/iOs target to be built ?
Any idea would be more than welcome.