-
Notifications
You must be signed in to change notification settings - Fork 30
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
1.6.0 let store = try Store(directoryPath: directory.path) 这个方法不能使用? #52
Comments
Could you try to translate to English, please? |
I use 1.6.0. When I use this method to create "let store = try store (directorypath: directory. Path)", an error will be reported Incorrect parameter label in call (with 'directorypath:', expected 'model: directory:maxDbSizeInKByte :fileM ode:maxReaders What's the matter with this? |
Thanks for your effort. It is covered by this FAQ. |
@greenrobot I am facing the exact same issue here. The project compiles perfectly with just one entity defined.
Could you give an insight on things to check? With a perfectly compiled project, it is still complaining for the same reason the moment I add the line:
Thanks! |
So, I realised I missed one step using CocoaPods and now it is working fine. As per the documentation, you have to execute a second step. A ruby script after pod install: |
As for the original issue:
This means the generated Closing this issue due to inactivity. 💤 Feel free to comment with more details or submit a new issue. |
我使用的是1.6.0,我在使用的时候用这个方法创建“let store = try Store(directoryPath: directory.path)”会报错误
Incorrect argument labels in call (have 'directoryPath:', expected'model:directory:maxDbSizeInKByte:fileMode:maxReaders:readOnly:')这个是怎么回事?
The text was updated successfully, but these errors were encountered: