Push Notification alert sound on macOS apps

Do macOS apps support custom notification sounds like iOS apps?

I'm sending a push notification with a custom sound to a macOS app but all I get is the system sound.

I tried caf, aiff, and m4a files and I know the caf is good because it works in an old iOS app I wrote. The push payload looks like:

{"aps":{"alert":"test", "sound":"PushSound.caf"}}

The only difference I see compared to iOS is that the sound is stored in Contents/Resources automatically by Xcode in the macOS app rather than at the top level of the bundle in iOS apps. I tried partial paths in the sound name but they didn't help.

Suggestions?

Push Notification alert sound on macOS apps
 
 
Q