Deleting a connecting @IBAction in code causes Xcode to crash

Originator:joaquimlobosilva
Number:rdar://17223045 Date Originated:08-Jun-2014 05:19 PM
Status:Duplicate of 16760932 Resolved:
Product:Developer Tools Product Version:6.0
Classification: Reproducible:Always
 
Summary:
(Tested in Swift)

Deleting the code pertaining to a connected @IBAction function causes Xcode to crash immediately after.

Steps to Reproduce:
1. Create a new project in Xcode (I tested this with a View-based Cocoa Touch application, written in Swift)
2. Drag any view that can have an IBAction (e.g. a button) onto the main view
3. Using the Assistant Editor, drag and create an IBAction (any type, any name, any sender type) onto the ViewController.swift, and give it a name
4. Save both files
5. Move the focus to the ViewController.swift, select the entire @IBAction function, and try to delete it with backspace

Expected Results:
Xcode should simply delete the selected text in the editor and remain active.

Actual Results:
Xcode crashes. (Crash log attached)

Version:
Xcode Version 6.0 (6A215l), Mac OS X 10.9.3 (13D65)

Configuration:
I have only been able to test this on one machine—a Retina MacBook Pro (Late 2013, 15", high-end stock model) running OS X 10.9.3.

Attachments:
'IBAction crash.log' was successfully uploaded.

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!