Q. Does versionLock have random number? #337

Closed
opened 2025-12-29 15:29:23 +01:00 by adam · 2 comments
Owner

Originally created by @oddukgi on GitHub (Aug 21, 2020).

Hello? Thank you making good library.
I don't understand of versionLock.
I made random number and put on code.

Originally created by @oddukgi on GitHub (Aug 21, 2020). Hello? Thank you making good library. I don't understand of versionLock. I made random number and put on code.
adam added the question label 2025-12-29 15:29:23 +01:00
adam closed this issue 2025-12-29 15:29:23 +01:00
Author
Owner

@JohnEstropia commented on GitHub (Aug 21, 2020):

It’s a hash of your schema generated by Core Data, so you can’t put arbitrary values in it. You need to remove the versionLock argument for now then run your app once. From the debugger console you will see a printout of the actual versionLock values you need to use.

See: https://github.com/JohnEstropia/CoreStore#versionlocks

@JohnEstropia commented on GitHub (Aug 21, 2020): It’s a hash of your schema generated by Core Data, so you can’t put arbitrary values in it. You need to remove the versionLock argument for now then run your app once. From the debugger console you will see a printout of the actual versionLock values you need to use. See: https://github.com/JohnEstropia/CoreStore#versionlocks
Author
Owner

@oddukgi commented on GitHub (Aug 21, 2020):

Thanks! I resolved issue 🌈

versionLock_screenshot
@oddukgi commented on GitHub (Aug 21, 2020): Thanks! I resolved issue 🌈 <img width="605" alt="versionLock_screenshot" src="https://user-images.githubusercontent.com/3068049/90850078-bbecea00-e3ab-11ea-84ce-f64586665c80.png">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#337