New Build System deletes my shared build folder

Originator:marcel.weiher
Number:rdar://45793642 Date Originated:Nov 4. 2018
Status:closed Resolved:Duplicate of 45295556 (open)
Product:Xcode Product Version:10
Classification: Reproducible:Always
 
Summary:
When cleaning a specific product, the new build system deletes the entire (shared) build folder instead of just the build products of that build.

Steps to Reproduce:
1. Select "Custom/Absolute" for your build location in the Xcode Locations Preferences (under "Advanced...")
2. Have 2 separate projects open (either in the same workspace or not), for example 2 apps
3. Build both
4. Clean one of the projects

Expected Results:
5. The build products project cleaned will be removed, the other one will not.

Actual Results:
6. Both build products are removed.  In fact, the entire Build folder is deleted (and then re-created).

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!