Xcode should surface Swift compiler error when you edit a file during compilation

Originator:rafalaugustyniak
Number:rdar://33610796 Date Originated:29-Jul-2017 09:50 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9 beta 4
Classification:UI/Usability Reproducible:Always
 
Summary:
This is a duplicate of radar #33583911

During Swift compilation if you modify a file that has been compiled, the compiler will fail. Currently in Xcode the error in the issue navigator is just a generic error, and you have to dive into the full build log to see that this was the cause. It would be nice if this error was surfaced so you didn't have to look at the entire build log.


Steps to Reproduce:
1. Create a Swift project
2. Compile the project
3. While it's compiling, modify a file
4. See the build fail

Expected Results:
The issue navigator surfaces that a file was edited while building

Actual Results:
The issue navigator just says `swiftc failed with exit code 1`, and the details about why are buried in the full build log

Version:
Xcode 9 beta 4

Notes:
Attached are the photos of the issue navigator, and the full build error.

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!