Warning "Public import of 'CoreData' was not used in public declarations or inlinable code"

Hello,

In my App.xcdatamodeld I have an entity called File.

When I am building the project with Xcode, file FileEntity+CoreDataProperties.swift is generated.

After upgrading Xcode to version 26.0 (17A324), I am getting the warning:

Public import of 'CoreData' was not used in public declarations or inlinable code

Any idea how to get rid of this warning since it's a generated file and I can't see any option to change it?

Warning "Public import of 'CoreData' was not used in public declarations or inlinable code"
 
 
Q