Xcode ignores that build settings inherit from project to target when checking build settings

Originator:m.hanauska
Number:rdar://FB7656589 Date Originated:Apr 8, 2020
Status:Open Resolved:
Product:Xcode Product Version:Version 11.4 (11E146)
Classification:Bug Reproducible:Sometimes
 
Xcode regularly shows me an "Update to recommend settings" warning in the category "Validate Project Settings" about setting changes that would not change anything. E.g. it suggests to enable "Hardned Runtime" for targets that already have it enabled because I have this set on project level and ALL MY TARGETS inherit that setting. Apparently the checker only looks at the target settings which is wrong. It must look at the COMBINED settings as Xcode names them. These are the settings that apply when building.

See attached screenshots.

Comments

Screenshots transmitted to Apple

https://postimg.cc/23rFSJc3

https://postimg.cc/FfY32XHn

By m.hanauska at April 8, 2020, 2:43 p.m. (reply...)

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!