So I am working on a project where the former dev had written his persistence layer code as a cocoapod. I am integrating it into the the workspace as a framework project because it will never be used with any other app and I want to get rid of the overhead of updating a cocoapod every time I need to make a change.
The problem I am running into is this error now I have created the framework in the workspace:
Could not determine generated file paths for Core Data code generation: Error Domain=NSCocoaErrorDomain Code=260 “No current version for model at path /Users/ABC/projects/path/Path/Model/MyModel.xcdatamodeld:” UserInfo= {NSFilePath=/Users/ABC/projects/path/Path/Model/MyModel.xcdatamodeld, NSLocalizedDescription=No current version for model at path /Users/ABC/projects/path/Path/Model/MyModel.xcdatamodeld:}
I am wondering how to deal with this?