Closed wojteklembryk closed 10 years ago
Problem still exist after change store path to: /Users/Wojtek/Library/Developer/CoreSimulator/Devices/41F0A63E-48F7-483E-AF64-4609814F3F8C/data/Applications/18466278-3612-4DF6-9D40-238F373A2539/Library/Application Support/com.uptonapps.Klaser/Klaser.sqlite
Did you add -ObjC to your linker flags? I don't think the path is the problem. The method should be there, but may not get linked unless you have -ObjC in your linker flags.
Thanks for your quick reply. You're right, the problem occurred when I used cocoapods. After the manual installation problem does not occur.
Now I have problem with connecting to iCloud. Also in SimpleSync example app. 2014-07-10 13:45:24.410 Simple Sync[21276:939872] Error in leech: Error Domain=CDEErrorDomain Code=1003 "User is not logged into iCloud." UserInfo=0x178071280 {NSLocalizedDescription=User is not logged into iCloud.}
Are you logged into iCloud? Also, is the Documents & Data setting turned on? You need to have that.
Are you having the same issue?
So I am confused now. Can you explain exactly what issue you are still seeing? Is this with the standard Ensembles, or the new Ensembles 2?
Yes, I'm logged in to iCloud and have Documents & Data setting turned on. It seems to me that it might be a problem with iCloud container identifers. I have: iCloud. $ (CFBundleIdentifier).
Have you setup the iCloud entitlements and all that? You should be able to pass nil as the identifier to Ensembles, if you are just using the default container.
Drew
On Jul 10, 2014, at 14:27, wojteklembryk notifications@github.com wrote:
Yes, I'm logged in to iCloud and have Documents & Data setting turned on. It seems to me that it might be a problem with iCloud container identifers. I have: iCloud. $ (CFBundleIdentifier).
— Reply to this email directly or view it on GitHub.
Yes, I enabled iCloud and using default container.
And in your app, if you check NSFileManager ubiquityIdentityToken, is it non-nil? You haven't setup iCloud properly until that is non-nil. If it is non-nil, you are probably passing the wrong container id to Ensembles. With iOS 8 I am not certain, but if nil doesn't work, you have to pass something like
Hi, I try to use ensembles in my project and I have the following problem: +[NSMapTable cde_weakToStrongObjectsMapTable]: unrecognized selector sent to class 0x1b861b4
My SQLite database files are stored in the application documents and not in application support: /Users/Wojtek/Library/Developer/CoreSimulator/Devices/41F0A63E-48F7-483E-AF64-4609814F3F8C/data/Applications/87395159-DAA4-4FF8-AB0D-A106EB74A155/Documents/Klaser.sqlite
Any ideas how to solve that? Thanks