Hi all,
I'm making some tests with a new from scratch CoreData Document based
application in Mac OS X 10.7.4 with autosave enabled and Sandbox. (I must
"sandboxing" an existing application for the AppStore upload).
All works fine with binary or xml type but not with SQLite.
Step 1 - I can create a new document, add some records and save it in binary,
xml or SQLite format.
Step 2 - I can open a document, add or delete some records, closing the doc
(autosave is on) will save the binary and xml one perfectly but not the SQLite
type -> here the error log:
2012-05-22 18:27:01.481 SandboxDoc Test[311:403] Core Data: annotation:
-executeRequest: encountered exception = Updating max pk failed: with userInfo
= {
NSSQLiteErrorDomain = 14;
}
22.05.12 18:27:01.480 sandboxd: ([311]) SandboxDoc Test(311) deny
file-write-create /Users/marco/Desktop/Untitled.sqlite-journal
I'm using the default "Open…" and "Save…" actions, no subclassing of
openDocument or saveDocument methods so it should use the right "protected"
path: ~/Library/Containers/theAppName/Data/Desktop/Untitled.sqlite
Is it a known bug or am I missing something big?
Thanks
Marco
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]