Custom Notification Sound for Mac Catalyst

I am trying to use custom sound for local notification on Mac Catalyst. It is working correctly for iPhone/iPad using UNMutableNotificationContent but the same is not working for Mac Catalyst.

I have tried playing the custom sound using AVAudioPlayer and it plays correctly so I am assuming it is able to locate the file; the file is stored at Contents/Resources of the app directory. Also the sound file's duration is less than 30 seconds and is saved using .caf format.

I'm having the same issue and wonder if you ever found a solution for your problem?

Certainly a catalyst app can have custom notification sounds right?

Catalyst apps for me have only started using the custom notification sounds after restarting my computer once after them being installed - a wonky workaround, but it may work? Doesn't seem particularly great for production builds though.

Custom Notification Sound for Mac Catalyst
 
 
Q