Custom Sound

Audio files must already be on the user’s device before the system can play them. If you use a predefined set of sounds for your notifications, include the audio files in your app’s bundle. For all other sounds, the UNNotificationSound object looks only in the following locations:

The /Library/Sounds directory of the app’s container directory.

The /Library/Sounds directory of one of the app’s shared group container directories.

The main bundle of the current executable.