Generated Interface is empty

Originator:michaelhochs
Number:rdar://27785030 Date Originated:10-Aug-2016 02:42 PM
Status:Closed Resolved:Resolved
Product:Developer Tools Product Version:Xcode 8b5
Classification:UI/Usability Reproducible:Always
 
Summary:
I started annotating PSPDFKit to match batter with the Swift 3 style guidelines. However as soon as I added `NS_SWIFT_NAME` to one of the methods, the generated interface refreshed and only shows an empty file since then. However, the code that uses this newly annotated API compiles just fine.

Steps to Reproduce:
- Open an ObjC header file and the assistant editor
- Make the assistant editor show the generated Swift header
- Add NS_SWIFT_NAME(…) to a method, with some swift name in the braces

Expected Results:
- Generated interface view refreshes and shows the new Swift method name

Actual Results:
- Generated interface view refreshes and shows an empty file

Regression:
I tried restarting Xcode, cleaning, deleting derived data, nothing helped.

Notes:
I attached a video to show how this looks like after restarting Xcode.

Comments

Video URL: https://cldup.com/wXW7pEC6ye.mov

By michaelhochs at Aug. 10, 2016, 2:07 p.m. (reply...)

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!