I have a CoreData entity let's call it YHEntity
.
In YHEntity
class (ObjC) that override fetchRequest
to return NSFetchRequest<YHEntity *> *
.
In Swift 5.4:
Swift code can see the fetchRequest
method returning NSFetchRequest<YHEntity *> *
In Swift 5.5:
Swift code can see the fetchRequest
method returning NSFetchRequest< NSFetchRequestResult> *
Here's a sample project that simulates the problem, builds with Xcode 12 but fails with Xcode 13.
https://drive.google.com/file/d/1epiplYFizVqZ1qbMozSD55NklkvHACAy/view?usp=sharing