Compilation fails when generic property is marked with NS_REFINED_FOR_SWIFT macro

Number:rdar://FB7604680 Date Originated:02/28/2020
Status:Closed Resolved:03/26/2020
Product:Xcode Product Version:Xcode 11.4 beta 2 (11N123k)
Classification: Reproducible:
With Xcode 11.4 beta 2 (11N123k) a generic Objective C property marked as NS_REFINED_FOR_SWIFT is causing a compiler error which reads “Property ’<Name of property>’ not found on object of type 'NS_REFINED_FOR_SWIFT ModelType' (aka 'id’)”.

This error is not appearing in former versions of Xcode.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!