Restore ability to search for build settings by command line argument
| Originator: | matt | ||
| Number: | rdar://32316827 | Date Originated: | 21-May-2017 11:00 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 8.3.2/8E2002 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Prior to Xcode 8 it was possible to search for build settings by their command-line argument equivalent (e.g. searching for "-Wdocumentation" filtered to the CLANG_WARN_DOCUMENTATION_COMMENTS build setting). Xcode 8 removed the command line arguments from build setting Quick Help, so this is no longer possible. Steps to Reproduce: 1. Open project settings 2. Select the Build Settings tab 3. Select "All" 4. Enter "-Wdocumentation" in the build setting search field Expected Results: Build settings are filtered to include the "Documentation Comments" (CLANG_WARN_DOCUMENTATION_COMMENTS) build setting. Observed Results: All build settings are filtered out. Version: Xcode 8.3.2/8E2002 Notes: This worked in Xcode 7. This was a useful ability for several reasons: - If after reviewing the build log you wanted to know what a particular compiler or linker option did, you could search for the equivalent build setting and view the Quick Help text right in the IDE. - In the case of options added specifically for Apple LLVM, Xcode's Quick Help is sometimes the *only* source of documentation for the compiler flag. - If you needed to disable a warning you could copy the compiler flag from the build log and then search for it to find the equivalent build setting. - If you already knew a compiler flag you wanted to set you could search for it to find out if Xcode had an equivalent build setting.
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!