Post

Replies

Boosts

Views

Activity

Accessing Core Data in a Shortcut Intent Handler?
Hello, Ive been working on adding shortcuts to my app and have had some success with executing API calls and returning strings. But when I try to use the user input to create a Core Data entity or to check the persistent store it only returns nil or fails. In the Intents handler class I have executed a @FetchRequest and then in the logic try to parse the collection. Another example is I've tried  @Environment(\.managedObjectContext) var managedObjectContext but entities I try to create don't work. The same code works in the app though. Any ideas how to do this? P.S. My app is written in swiftUI!
1
1
1k
Apr ’21
Users reporting cloud synching not working
Hello, I have an app on the store and as of today, users are reporting that cards they collect are no longer syncing with iCloud. I haven't updated my app in about three weeks and the code hasn't changed. The app syncs correctly in the development build but not the release. When I log in to the CloudKit Dashboard the Dev and Production Schema are correct. What can I do? Orlando Lion's Eye - MTG
0
0
759
Mar ’21