So I am trying implement GameKit SaveGame functionality on my iOS game. I am aware that this requires iCloud and iCloud Drive access in order to work properly.
When I call fetch from the GameKit API I get an error message saying:
"The requested operation could not be completed because you are not signed in to iCloud or iCloud Drive is not activated"
I have both activated, so my iCloud account is ready and my iCloud Drive is activated. However I don't see my app in the list of apps using iCloud Drive. Do I need to add any permission to the info.plist for it to work?
I added iCloud -> documents features in xCode already and it doesn't do the trick, so I must be missing something. Do I need to activate something for my app under the iCloud Dashboard?
I really need to deliver this product I'm working on and it's being really complicated to find the solution.
Post
Replies
Boosts
Views
Activity
Right now I have the following setup!
I'm using a container for an app I'm creating
I'm subscribing to the public database (query sub)
I'm subscribing to all changes (add+remove+modify)
This is a still in development so it's me and another person adding records.
we are using the dashboard to create records
The problem I'm have:
When I create a record in the public database I get notified on the change. However I don't get notifications if the changes are made by the other developer.
I'm using OBJ-C for coding and I don't know what I might be doing wrong. I tried to look at the documents online and nothing helped and it seems that they are also a couple years old (did anything API changed?)
Some "How To Tutorials" stated I should look into the log file of the database and check if there are any "push" type events but there are none (only "record modify" and "record fetch"). So I guess there might be something in the way I'm registering to the public database, is there a small sample project for this?