Using CloudKit in a command line utility program

Has anyone had any success using CloudKit in an application that is not a GUI application, such as a command line utility. The chief difference between a command line utility and other applications is that it doesn't start NSApplicationMain, at least not by default.


In my attempt to do this, I am getting CKError "Internal Error" <1/2005>. Based on some searching I've done, this might be related to entitlements.

Are you importing CloudKit or are you curling the urls?

I'm curious about your question, too. Did you ever get it to work? I'm working on something similar.


I can attach to the CloudKit Container, but I'm having trouble workng with it.

Did you figure out if it is possible to use CloudKit from command line applications?

In Xcode I don't see CloudKit entitlements

Using CloudKit in a command line utility program
 
 
Q