Post

Replies

Boosts

Views

Activity

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
Topic: App & System Services SubTopic: General Tags:
Aug ’23
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.
Topic: Machine Learning & AI SubTopic: General Tags:
Aug ’23
Comment on Can't change time in Xcode Simulator
This issue is still existing as of Xcode 15.0 beta 8 (15A5229m) with iOS 17. I’ve filed a duplicated feedback: FB13136801
Replies
Boosts
Views
Activity
Sep ’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
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Unable to set the new App Tint Color options for App Shortcuts
For some reason I can’t get this to work. Do I need to define the other CFBundlePrimaryIcon keys as well? And I have to use bot new NSAppIconActionTintColorName and NSAppIconComplementingColorNames keys?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Error saving @Model with enum
Can confirm, it finally works! Tested with Xcode 15 Beta 7.
Replies
Boosts
Views
Activity
Aug ’23
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.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Xcode 15 beta 5 missing cascade property option in @Relationship(.cascade) error.
I had the same issue with Xcode 15 beta 6 and adding the deleteRule: before .cascade + removing the default value fixed it. This should be the accepted answer!
Replies
Boosts
Views
Activity
Aug ’23
Comment on Modeling complex value type in SwiftData
Good to know the enum has to conform to Codable! Nevertheless this isn’t working for me – the enum won’t be persisted when changing in the app.
Replies
Boosts
Views
Activity
Jun ’23
Comment on Error saving @Model with enum
I don’t get the error, but I have the same issue – the enum won’t be persisted! Filed a feedback as well (FB12362116).
Replies
Boosts
Views
Activity
Jun ’23
Comment on Use of 64pt and 68pt iOS App Icon Sizes
Yep, have seen that on my hunt to get some information somewhere 😉
Replies
Boosts
Views
Activity
Jun ’23
Comment on WatchKit can't initiate viewcontroller from Storyboard
That should be accepted as answer. This fixed the issue for me as well. PS: You can also right-click the storyboard file, select Open As > Source Code and search and replace right inside of Xcode.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on change my primary language of App store connect
Using Chrome worked for me as well as unfortunately Safari doesn’t seem to support this.
Replies
Boosts
Views
Activity
Aug ’21