My Mac app need to save some values to the iCloud key-value store, however I cannot get it to work.
When saving data I use this code:
var store = NSUbiquitousKeyValueStore.DefaultStore; store.SetString(key, val); store.Synchronize();
And for reading:
var store = NSUbiquitousKeyValueStore.DefaultStore; var val = store.GetString(key); return val;
The saving part is called without any error, and the reading is always returning null. I am sure the provisioning profile is correctly set up, and the entitlements also. Is there anything preventing me from testing iCloud on my Mac in the debugger? Any ideas?