New Build system fails for framework dependencies with similar named Test Hosts.

Originator:Manuel.Burghard
Number:rdar://39275429 Date Originated:2018-04-09
Status:Open Resolved:
Product:Xcode Product Version:9.3
Classification:Bug Reproducible:Always
 
Summary:
New Build system fails for framework dependencies with similar named Test Hosts.

We usa a very modular setup with functionality split into different framework modules. 
Some frameworks require a test host application to run their unit tests. At the moment, these test host applications are all named "TestHost". 
We encounter build failures when building with the new build system.
This is a regression between the old and the new build system 

Steps to Reproduce:
1. Open the attached sample project.
2. Select the old build system.
3. Run the tests of the BuildSystem App (CMD+U). This succeeds without any failures.
4. Clean the project.
5. Switch to the new build system.
6. Run the tests of the BuildSystem App (CMD+U). This fails with errors.

Expected Results:
The new build system is able to build and run all the unit tests and build dependencies with the same target name.

Actual Results:
The build fails

Version/Build:
Xcode Version 9.3 (9E145)
macOS 10.13.4 (17E199)

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!