Skip to content
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

CareKitStore-CoreData-NSReadOnlyPersistentStoreOption-ErrorMessage #684

Closed
CaTimeX opened this issue Mar 24, 2023 · 1 comment
Closed

CareKitStore-CoreData-NSReadOnlyPersistentStoreOption-ErrorMessage #684

CaTimeX opened this issue Mar 24, 2023 · 1 comment

Comments

@CaTimeX
Copy link

CaTimeX commented Mar 24, 2023

I can still build and run my project, but I always get this error message:

"Attempt to add read-only file at path file:///Users/.../SourcePackages/checkouts/CareKit/CareKitStore/CareKitStore/CoreData/Migrations/2_0To2_1/2.0_2.1_Mapping.xcmappingmodel/xcmapping.xml read/write. Adding it read-only instead. This will be a hard error in the future; you must specify the NSReadOnlyPersistentStoreOption.
Command MappingModelCompile emitted errors but did not return a nonzero exit code to indicate failure"

Can anyone help me? I added CareKit via Package Dependencies with the branch 'main' and also updated to the latest Version (CareKit Version 2.1).

@gavirawson-apple
Copy link
Collaborator

See the current recommendation here: #665

@CaTimeX CaTimeX closed this as completed Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants