Xcode should surface Swift compiler error when you edit a file during compilation
| Originator: | keithbsmiley | ||
| Number: | rdar://33583911 | Date Originated: | 27-Jul-2017 21:43 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 9 beta 4 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: 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!