Xcode-beta (8S201h): Xcode extensions can't make the compiler emit warnings

Originator:designatednerd
Number:rdar://28170362 Date Originated:06-Sep-2016 03:29 PM
Status:Closed Resolved:Duplicate
Product:Developer Tools Product Version:Xcode-beta (8S201h)
Classification:UI/Usability Reproducible:Always
 
Summary:
Xcode 8 extensions are not able to force the compiler to show a warning at a certain line. 

Steps to Reproduce:
- Create an Xcode 8 extension
- Have a situation where you’d prefer to show a warning rather than changing the text directly
- Have no way to do that

Expected Results:
- Would like to be able to emit warnings via the compiler for things which need to be addressed

Actual Results:
- Can’t. 

Regression:
(Not a regression, this is a new feature)

Notes:
Basically this would be really helpful for any kind of linting extension, because it brings greater awareness to the user of when they’ve violated a particular linter’s spec. It could also be used to emit warnings for possible non-localized strings or other stringly-typed code likely to fail because we are all awful spellers.

Comments

Received Sept 12th: "Engineering has determined that your bug report (28170362) is a duplicate of another issue (26914909) and will be closed."

By designatednerd at Sept. 15, 2016, 1:57 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!