Post

Replies

Boosts

Views

Activity

Reply to iOS26 Liquid Glass icon + use old icon on iOS18
You can pass --enable-icon-stack-fallback-generation=disabled as a flag to the asset catalog compiler. Go to project -> Your target -> Build Settings -> Search for "Asset Catalog" -> Add the mentioned flag in Asset Catalog Other Flags. In this case versions prior to 26 will continue to use the previous app icons. However for my project this caused problems when uploading to App Store Connect apparently due to missing png icon files. This has never been a problem before and the app seems to be displayed with the correct app icons at all times. I am also using alternative app icons. I am yet to further investigate this to file a good feedback report.
Topic: UI Frameworks SubTopic: General Tags:
Aug ’25
Reply to Strange Live Activity Occurrence Behavior
I finally figured this out. It's really weird but I found the issue. In the initializer of the TimelineProvider struct of the UpNextWidget(), I created a SwiftData modelContainer. Once I remove that from the initializer to the function that will need the ModelContext, it works reliably as expected. Obviously this can not be intended behavior. I filed a feedback with a sample project based on the template for Live Activities that illustrates the problem. FB17655658
May ’25
Reply to MusicKit: How to search for a single song by ID
You need to infer a type manually and tell which property should match yours. MusicCatalogResourceRequest<Song>(matching: \.id, equalTo: song.id.rawValue) This is what you are looking for. Apart from that I strongly advise you to switch using IRSC (or UPC for albums) instead of the song id. The song id (or album id) can change at any time. Read the explanation here
Topic: Media Technologies SubTopic: Audio Tags:
Sep ’24
Reply to SwiftData serious bug with relationships and CloudKit in iOS 18.0 (Xcode 16 Beta)
Just a quick idea: Can you access that relationship programmatically? So if you add a button that tries to print that relationship, does that work? Currently there is a bug that @Query does not update the view after an iCloud Sync. I filed a bug report for that. FB14619787 If you can indeed access that relationship you might be able to work around that by using this package (https://github.com/ggruen/CloudKitSyncMonitor) that can update your view whenever the iCloud sync status changes.
Sep ’24
Reply to Lock screen media controls for MusicKit/ ApplicationMusicPlayer
I tried this a while back with no success so I filed FB17995050
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to iOS26 Liquid Glass icon + use old icon on iOS18
You can pass --enable-icon-stack-fallback-generation=disabled as a flag to the asset catalog compiler. Go to project -> Your target -> Build Settings -> Search for "Asset Catalog" -> Add the mentioned flag in Asset Catalog Other Flags. In this case versions prior to 26 will continue to use the previous app icons. However for my project this caused problems when uploading to App Store Connect apparently due to missing png icon files. This has never been a problem before and the app seems to be displayed with the correct app icons at all times. I am also using alternative app icons. I am yet to further investigate this to file a good feedback report.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to Proposal: Develop a Token Estimation Tool for Foundation Models
It is best to submit these through https://feedbackassistant.apple.com
Replies
Boosts
Views
Activity
Aug ’25
Reply to CarPlay Support
My request took around 4 weeks to be approved.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to Strange Live Activity Occurrence Behavior
I finally figured this out. It's really weird but I found the issue. In the initializer of the TimelineProvider struct of the UpNextWidget(), I created a SwiftData modelContainer. Once I remove that from the initializer to the function that will need the ModelContext, it works reliably as expected. Obviously this can not be intended behavior. I filed a feedback with a sample project based on the template for Live Activities that illustrates the problem. FB17655658
Replies
Boosts
Views
Activity
May ’25
Reply to custom-URL-handling method not being called
Have you tried the .onOpenURL modifier? This works for me
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Feature Request: Long-Lived Access to Personal Apple Music Data
I am not sure I exactly understood your problem. However why are you not using a background refresh of an app that fetches and uploads that data to your server. In that case you can use MusicKit and have nothing to do with tokens. Am I missing something here?
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to How to provide visual feedback about iCloud sync status when the user reinstalls an app?
I use https://github.com/ggruen/CloudKitSyncMonitor for a similar use case and it works quite well for me.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Unable to add MusicKit capability
There is no need to add a MusicKit Capability in Xcode. You only have to provide a NSAppleMusicUsageDescription in your Info.plist.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Can an app be seen as a trigger device on Homekit?
There is no need to act as a dummy switch. What you describe might be possible using Scenes in the Home app, meaning no code at all. It is definitely possible to directly adjust these devices using HomeKit (the developer kit, not the app). That will be possible on all platforms, but you might have to use Mac Catalyst.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Can I put my app on TestFlight without review ?
Beta App Review is not as strict as App Review but why do you have a problem with being reviewed in the first place? Usually it takes less than 12 hours to get your app approved for TestFlight and if you do not have a malicious app you should have absolutely no problem passing the beta app review from my experience.
Replies
Boosts
Views
Activity
Sep ’24
Reply to MusicKit Queue broke in iOS18
This looks like a bug to me. You should definitely file a bug report for that. In my app I am using musicPlayer.setQueuer(with:)You can test whether that makes a difference.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to MusicKit: How to search for a single song by ID
You need to infer a type manually and tell which property should match yours. MusicCatalogResourceRequest<Song>(matching: \.id, equalTo: song.id.rawValue) This is what you are looking for. Apart from that I strongly advise you to switch using IRSC (or UPC for albums) instead of the song id. The song id (or album id) can change at any time. Read the explanation here
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to SwiftData serious bug with relationships and CloudKit in iOS 18.0 (Xcode 16 Beta)
Just a quick idea: Can you access that relationship programmatically? So if you add a button that tries to print that relationship, does that work? Currently there is a bug that @Query does not update the view after an iCloud Sync. I filed a bug report for that. FB14619787 If you can indeed access that relationship you might be able to work around that by using this package (https://github.com/ggruen/CloudKitSyncMonitor) that can update your view whenever the iCloud sync status changes.
Replies
Boosts
Views
Activity
Sep ’24
Reply to App freezes after passing Observable via .environment()
Great that you were able to fix the problem yourself. It would be great if you could file a bug report since this does not look like correct behavior.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24