-
Notifications
You must be signed in to change notification settings - Fork 64
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
SeamStoreType undeclared identifier #21
Comments
You can also try SMStore.type instead of SeamStoreType. |
Thanks that works. But I now get the following error when my app starts:
And
Any idea what could be causing this ? (Sorry, I'm new to Swift). |
Delete the app from the simulator/device and rebuild/reinstall it again. |
That gives the same error. |
Let me investigate this :) |
Just to clarify, I'm trying to add CloudKit to an existing app that already uses CoreData. |
I'm also getting this problem in my project. CoreData is already in use, and no changes to the model have been made. |
I implemented a NSIncrementalStore for CouchDB and had similar problems. It's about NSStoreUUIDKey. I think the store needs to handle/store it and not take it from the underlying persistent store. I can look up more details tomorrow, if you like.
|
One cause could be the modification of the model by SMStoreChangeSetHandler.modelForLocalStore |
I am really really sorry @chbeer @koenvanderdrift @PenguinGeorge for not being able to do something about it at the moment. But I did check and I didn't face this particular error, all was working fine for me. |
Not a problem for me at the moment, as I'm adding it in to an update which is a few weeks away yet. :) Looking forward to a fix though. |
@nofelmahmood Have you been able to make any progress with this issue? |
I have added Seam to my ObjectiveC project using CocoaPods, and successfully declared a property for the store:
@property (nonatomic, readonly) SMStore *seamStore;
I then use the following code to add it to my
NSPersistentStoreCoordinator
:_store = [_coordinator addPersistentStoreWithType: SeamStoreType configuration: nil URL: storeURL options: options error: &error];
Which gives me an
undeclared identifier
error forSeamStoreType
.What do I need to do for my code to recognize
SeamStoreType
?The text was updated successfully, but these errors were encountered: