Adding Core Data to a Swift Package

Adding Core Data to a Swift Package

Now that that Package is set up you can either use it as a local resource by manually importing the library into targets or by distributing it online. Either way remembers to import your new Package anywhere that references your Core Data model or any of its NSManagedObject subclasses.

[…]