Post

Replies

Boosts

Views

Activity

Comment on Disappearing AppIntents
This should be the accepted answer! Looking into the build logs (View > Navigators > Reports) helped a lot. For me it was an issue with the caseDisplayRepresentations that didn’t include all cases. Even after including all cases I still had to change from DisplayRepresentation(stringLiteral: ) to DisplayRepresentation(title: ). Maybe that helps.
Aug ’23
Comment on Unable to set the new App Tint Color options for App Shortcuts
Okay, I’ve figured it out! Yes, you have to add CFBundleIconFiles and UIPrerenderedIcon as well. And no you don’t have to use both new keys. I’ve ended up only using NSAppIconComplementingColorNames for the background gradient now. Seems like you have to add both strings to this array, though. So if you want to have a flat color, just put the same name for the top and bottom color. Btw, here is a tweet showing how it can look like: https://twitter.com/emcro/status/1677437755197132801
Aug ’23
Comment on Migrate Core Data to SwiftData in an App Group (& CloudKit)
Hey, thanks a lot for your detailed response! 🙏 Yes, the migration from Core Data to SwiftData itself works successfully for me. In my case I don’t want to keep the .sqlite name extension … it’s rather that the migration didn’t find the old Core Data for migration and simply created a new database. So how do I get the migration to 1) find my old „Something.sqlite“ Core Data database, 2) then move it to the App Group 3) so that I can then use it for my Widget and enable it for CloudKit?
Jun ’24