Thanks, folks. After I logged out my iCloud account and logged in back. The iCloud starts working.
Though I don't know what happened exactly, but I am happy it works. Just downloaded some iCloud videos from iTunes, will check them out. Thanks - Peng On Sun, Jun 2, 2013 at 10:35 AM, Roland King <r...@rols.org> wrote: > > On 2 Jun, 2013, at 8:55 AM, Peng Gu <pan...@gmail.com> 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 <z...@mac.com> 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 (Cocoa-dev@lists.apple.com) > > 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/rols%40rols.org > > This email sent to r...@rols.org > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com