• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Our app can't store a simple key/value pair in iCloud. Any idea why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Our app can't store a simple key/value pair in iCloud. Any idea why?


  • Subject: Our app can't store a simple key/value pair in iCloud. Any idea why?
  • From: G S <email@hidden>
  • Date: Mon, 12 Dec 2011 18:12:00 -0800

Hi all.

I've configured our app for iCloud usage and push notifications with
the appropriate entitlements, under a provisioning profile that is set
up for these, and a developer profile that's associated with this
provisioning profile.

The application identifier matches what's specified in the
provisioning profile (com.ourcompany.ourproduct).  I don't get any
errors when building the app.

iCloud is enabled on my phone, and is working (as evidenced by my
calendar, contacts, and bookmarks being updated).

And yet this fails:

	NSUbiquitousKeyValueStore* iCloudStore = [NSUbiquitousKeyValueStore
defaultStore];
	[iCloudStore setString:localID forKey:@"ourKey"];

If I call synchronize after this, it returns NO.  If I allow plenty of
time for the update to occur, subsequent attempts to retrieve the data
still fail.

Any idea what the culprit could be here?

Thanks!

Gavin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Business as usual: Flipped context causing grief
  • Next by Date: Re: why does this method return an id?
  • Previous by thread: Re: Business as usual: Flipped context causing grief
  • Next by thread: Filling gradient in NSTableHeaderView not working properly
  • Index(es):
    • Date
    • Thread