`xcodebuild clean` does not clean "OBJROOT" that used on `xcodebuild install`

Originator:Norio.Nomura
Number:rdar://26591236 Date Originated:2016/06/02
Status:Open Resolved:
Product:Developer Tools Product Version:7.3.1 (7D1014)
Classification: Reproducible:
 
Norio 野村02-Jun-2016 09:30 AM

Summary:
"OBJROOT" on `xcodebuild install` is different from the one on `xcodebuild clean`. So, `xcodebuld clean` does not properly clean directory that used on `xcodebuild install`.
`xcodebuild -showBuildSettings install` also incorrect settings that actually used.

Steps to Reproduce:
1. Unzip attached XcodeBuildSettingsTest.zip
2. run `collect-settings.sh` that collect environment variables in run script and -showBuildSettings into logs
3. Check diff between environments-in-run-script-on-install.log and showbuildsettings-on-install.log

Expected Results:
"OBJROOT" will have same value between environments-in-run-script-on-install.log and showbuildsettings-on-install.log, as same between between environments-in-run-script-on-build.log and showbuildsettings-on-build.log

Actual Results:
"OBJROOT" will have difference value between environments-in-run-script-on-install.log and showbuildsettings-on-install.log

Version:
Xcode Version 7.3.1 (7D1014)
OS X 10.11.5 (15F34)

Notes:


Configuration:


MacBook Pro (Retina, 13-inch, Late 2013) w: OS X OS X 10.11.5 (15F34).spx - configuration file has been successfully uploaded.

Attachments:
'XcodeBuildSettingsTest.zip' and 'MacBook Pro (Retina, 13-inch, Late 2013) w: OS X OS X 10.11.5 (15F34).spx' were successfully uploaded.

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!