Jump to counterpart from Swift to Objective-C fails

Originator:cpickslay
Number:rdar://34553658 Date Originated:9/27/2017
Status:Open Resolved:
Product:Developer Tools Product Version:9.0 (9A235)
Classification:UI/Usability Reproducible:Always
 
Summary:
If you have a Swift extension on an Objective-C class, Navigate -> Jump to [Previous/Next] Counterpart works from Objective-C to the Swift extension, but not from the Swift extension. This worked correctly in Xcode 8.

Steps to Reproduce:
1) Create an Objective-C class and a Swift extension on that class
2) Open the .m file
3) In the Navigate menu, select Jump to Next Counterpart. The swift file opens.
4) From the swift file, Jump to Next Counterpart again.

Expected Results:
The .h file should open

Actual Results:
Xcode attempts to show a generated swift interface for the .h file. This sometimes succeeds and sometimes just shows a loading indicator endlessly.

Version/Build:
9.0 (9A235)

Configuration:

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!