Tuesday, November 10, 2026
HomeiOS Developmentios - Coredata and swiftUI: getting the error "This NSPersistentStoreCoordinator has no...

ios – Coredata and swiftUI: getting the error “This NSPersistentStoreCoordinator has no persistent shops” after making one attribute constraint

[ad_1]

I’ve the mannequin that the pictures present. Within the entity Phrase I’ve the attribute identify, that I wish to be constraint. If I do not make it constraint the mannequin works completely, however after I make it constraint it crashes simply when opening giving this error. The one code it reads is a DataController wherein I simply create the container and set mergePolicy to NSmergeByPropertyObjectTrumpMergePolicy.

I believe I would like identify in Phrase to be constraint. In any other case when deleting or including relations with train_list or test_list I get many phrases with the identical identify, after I simply need one that’s added or deleted from these lists.

I do not actually know what are the necessities to make use of a constraint. Possibly there’s a battle with the relationships I’ve or the delete guidelines. Any thought?

Test_list entity

Group entity

Time entity

Topic entity

Train_list entity

Word entity

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments