Reputation: 1079
I'm developing a multi platform app that has a public iOS part and a private macOS interface for feeding public CloudKit data.
Is there a way to run the app with a different iCloud user? Currently it's doing all CloudKit sync using my iCloud ID around in Mac Settings. I want to have a singe user with RW access to the public database.
I could create new Mac user and sign in there, but its an awful amount of work and data duplication only to run a app.
Any other way/hack?
Upvotes: 1
Views: 194
Reputation: 14068
CloudKit is always going to use the signed-in user on the device. So to feed the data with the Mac app, it's going to use your iCloud ID on the Mac.
I can think of a few workarounds:
I'm having trouble understanding the problem with just using your main iCloud user, though. When you write data to the public
database with your iCloud account, I don't know of any security or privacy risks with that happening with your iCloud account.
Upvotes: 0