Utilizing CloudKit

55 views
Skip to first unread message

Travis Valentine

unread,
Feb 18, 2015, 4:29:30 PM2/18/15
to rubym...@googlegroups.com
Hey everyone,

I'm trying to play around with CloudKit and am wondering if anyone has it setup in their app. I've set the following in app.entitlements:

app.entitlements['com.apple.developer.cloudkit'] = true

But I feel like I need to include other things per Xcode's capabilities settings.

Thanks!

Hwee-Boon Yar

unread,
Feb 19, 2015, 8:57:06 AM2/19/15
to rubym...@googlegroups.com
app.entitlements['com.apple.developer.icloud-container-identifiers'] = ['iCloud.motionobj.simplytranslate.records']
app
.entitlements['com.apple.developer.icloud-services'] = ['CloudKit']
app
.entitlements['com.apple.developer.ubiquity-container-identifiers'] = ['iCloud.motionobj.simplytranslate.records']
app
.frameworks << 'CloudKit'



Last I checked, you don't need:

app.entitlements['com.apple.developer.cloudkit'] = true

What does it do?

Hwee-Boon

Travis Valentine

unread,
Feb 20, 2015, 2:03:14 PM2/20/15
to rubym...@googlegroups.com
Ah nice, thanks! I just adapted that pattern from an old Stack Overflow question:

Travis Valentine

unread,
Mar 26, 2015, 2:46:31 PM3/26/15
to rubym...@googlegroups.com
Just FYI, I couldn't get this working after all. Once I started things in XCode and enabled CloudKit it worked. That's annoying.

Will Jessop

unread,
Apr 2, 2015, 6:46:45 PM4/2/15
to rubym...@googlegroups.com
I'm having the same issue. What does "Once I started things in XCode and enabled CloudKit it worked." mean?

Travis Valentine

unread,
Apr 3, 2015, 11:54:57 AM4/3/15
to rubym...@googlegroups.com
Ah, basically I set up the app using CloudKit XCode, and I was able to actually get into the CloudKit dashboard. Then my code to save new records appeared in the dashboard. Before that, not only was my code not saving new records but I couldn't even get into the CloudKit dashboard. FYI, I also opened this discussion in the new forum: http://community.rubymotion.com/t/using-cloudkit/251

--
Please use the new forum!
 
http://community.rubymotion.com/
---
You received this message because you are subscribed to a topic in the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubymotion/zlkHd1xcIak/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubymotion+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages