Xcode crashes immediately on opening project with malformed SWIFT_VERSION setting
Originator: | me | ||
Number: | rdar://42255940 | Date Originated: | 16-Jul-2018 02:19 PM |
Status: | Closed | Resolved: | Dupe |
Product: | Developer Tools | Product Version: | 9.4.1 (9F2000) |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: When opening a project with a malformed SWIFT_VERSION in Xcode 9.4.1, Xcode crashes immediately without any messaging as to what happened. This can make data corruption issues difficult to diagnose. Steps to Reproduce: 1. data corruption 2. Open project in Xcode Expected Results: Xcode doesn’t crash and instead displays an error. Actual Results: Xcode immediately crashes. Version: 9.4.1 (9F2000) Notes: I’ve attached a sample project. It’s contrived but reflects behavior seen in a real situation by my team.
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!