Xcode 6: Crash when jumping to definition from a .swift file
| Originator: | adrian.kashivskyy | ||
| Number: | rdar://17920383 | Date Originated: | 05-Aug-2014 09:39 PM |
| Status: | Closed | Resolved: | Yes |
| Product: | Developer Tools | Product Version: | Xcode 6.0 Beta 5 (6A279r) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Xcode 5 Beta 5 crashes when jumping to definition from a Swift file, when "OTHER_SWIFT_FLAGS" build setting include "-D <#flag#>". A sample crash file is attached. Steps to Reproduce: 1. Install Xcode 6 Beta 5 (6A279r) 2. Create a new Swift project (let's use any template under iOS Applicaton category) 3. Open the primary target's build settings 4. Set the following setting for Debug configuration: OTHER_SWIFT_FLAGS = -D DEBUG 5. Open the generated AppDelegate.swift file and command-click on any external symbol (e.g. UIResponder) Expected Results: Xcode jumps to the "swiftified" version of the symbol definition (e.g. UIResponder). Actual Results: Xcode crashes with a failed assertion. Version: Xcode 6.0 Beta 5 (6A279r) OS X 10.9.4 (13E28) MacPro5,1 Notes: Using "OTHER_SWIFT_FLAGS = -D" (without the flag name after "-D") results in "Symbol not found" HUD error after a command-click. Configuration: 1. Issue occurs only when "-D <#flag#>" is the value of OTHER_SWIFT_FLAGS setting. 2. A similar issue occurs when using "-D" without the flag name (more information in Additional Notes). Attachments: 'Xcode_2014-08-05-190345.crash' was successfully uploaded. --- 28-Aug-2014 07:46 PM Issue has been fixed in Xcode 6.0 Beta 6 (6A280e). This issue has been verified as resolved and can be closed.
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!
Attachments
http://cl.ly/013S0f2g1Y2y/download/rdar-17920383.zip