-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSManagedObjectModel error #96
Comments
I found only a thread on SO bit without solution.
Ma cos’è is a “working” clone of the Example project
…--
Eugenio B.
Il giorno 11 nov 2018, alle ore 14:24, David DelMonte ***@***.***> ha scritto:
I'm not affiliated with the project, but you might want to post your code, your model and store/fetch. This also may be better served by posting the question on Stack Overflow. If you search there, with a tag of "Seam 3", you may find others who have the same question.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I get the same error as well. |
Perhaps this fix could be applied here? superk589/DereGuide#24 |
I believe this issue happens with all projects that use Seam3. It looks like it happens because Seam3 does some work in a background thread. Not sure if it can be solved. In my project these warnings did not cause any issues so far. |
I wonder if this is due to the fact that we are adding some extra backing store attributes that might cause the model to change. Maybe if we had the user manually add this into the model, this message wouldn't show. |
Wondering if this issue has been addressed in the two updates that were merged recently. I just cloned seam3, added it to my app, and got the same nsmanagedobjectmodel error. |
got a fix. @hyerra had diagnosed right. it was fetching into the backing context using a fetch request that contained an entity description from (I guess) the view context. my fix is to create a copy of the fetch request using the entity from the backing context with the same entity name as in the original fetch request: func executeInResponseToFetchRequest(_ fetchRequest:NSFetchRequest,context:NSManagedObjectContext) throws ->[Any] {
|
@mklybor any chance you can share a little more on how you're doing it? I'm newer to CoreData and having the same issue. |
Look at my branch for the fix: https://github.com/mklybor/Seam3/tree/fix_model_error there was a fetch request that had an issue that was causing the warning msg. this should get rolled into the master. |
Has this been rolled into the master? Thanks |
while running the example project, I get an infinite list of these errors in console log:
How can I resolve?
The text was updated successfully, but these errors were encountered: