Xcode7 / iOS9: Unit Tests: iPhone Developer: ambiguous (matches “iPhone Developer: Max M. (TeamA ID) and ”iPhone Developer: Max M. (TeamB ID))

Originator:gabriel.gatzsche
Number:rdar://22941194 Date Originated:2015-10-01
Status:Open Resolved:
Product:Deveoper Tools Product Version:
Classification: Reproducible:Always
 
Summary:
When I am in two teams and have developer profiles for both teams installed, then my unit tests are not compiling anymore. The error "iPhone Developer: ambiguous (matches "iPhone Developer: Max M. (TeamA ID) and "iPhone Developer: Max M. (TeamB ID))" is shown.

As code signing identity for the unit test I selected "iOS Developer".

Expected Results:
In the same way Xcode is able to select the right developer profile for building apps it should be able to select the right developer profile for building unit tests. 

To do this Xcode should either read the team id added to the application target connected to the unit test or it should offer a info field where a team id can be assigned to a unit test. 

Version:
Xcode 7.0.1, Xcode 7.1

Notes:
http://stackoverflow.com/questions/32897347/xcode7-ios9-unit-tests-iphone-developer-ambiguous-matches-iphone-develope/32897348#32897348

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!