Re: iCloud Key-Value Store not Syncing ?
Re: iCloud Key-Value Store not Syncing ?
- Subject: Re: iCloud Key-Value Store not Syncing ?
- From: Roland King <email@hidden>
- Date: Sun, 02 Jun 2013 10:35:43 +0800
On 2 Jun, 2013, at 8:55 AM, Peng Gu <email@hidden> wrote:
> I've checked a million times. This drove me crazy.
Yes well take a deep breath, read the documentation again and start over. Entitlements and provisioning are actually quite simple when you understand them but they aren't obvious and you need to be methodical.
>
> Another problem, whenever I run the iOS app on my iphone, the xcode
> complains 'Timed out waiting for app to launch'. I googled, it seems ad-hoc
> provisioning cannot be used for debugging. But the development profile
> doesn't have the option of enabling iCloud. If I choose development
> provisioning profile, the xocde gives me error 'The executable was signed
> with invalid entitlements.'
Of course the development profile has options for enabling iCloud. That's how you test. If you get the 'invalid entitlements' you've not matched the entitlements with your provisioning profile or added extra entitlements you don't need in.
I would advise reading this technote http://developer.apple.com/library/ios/#technotes/tn2250/_index.html in its entirety at least once and possibly more than that. It contains all the distilled knowledge about provisioning you should ever need. For a start it covers that error message. I have that technote linked in my bookmarks for the days I forget how it all works.
>
> How can I test iCloud without using ad-hoc provisioning ?
>
>
>
>
>
> On Sun, Jun 2, 2013 at 7:47 AM, Alex Zavatone <email@hidden> wrote:
>
>>
>> On Jun 1, 2013, at 6:14 PM, Peng Gu wrote:
>>
>>> Thanks. I just bought the iOS membership, and wait it to be delivered.
>>>
>>> Do you have any thought why [[*NSFileManager* *defaultManager*] *
>>> ubiquityIdentityToken**] *returns nil? I have Mac OS membership, and
>> AppID,
>>> entitlements .. seem to be correct.
>>>
>>
>> Need any cert or provisioning profile for that? I'm speaking out of
>> ignorance here, but wouldn't be surprised.
>>
>>
> _______________________________________________
>
> 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
_______________________________________________
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