I want to be able to change the Team used for code signing an iOS target at build time, using a configuration, build variable or similar mechanism. As far as I can tell, the only way to access the Team setting is via the dropdown in the target's "General" configuration tab, and it is stored in the project file. Right now, I have created a second target with another team set, which is a lot of duplicated settings to just change this one parameter.
Is there a more flexible way to control the Team setting?