I'm creating a UNNotificationRequest with a UNNotificationSound as:
content.sound = UNNotificationSound(named: "alarmSounds/alarmAscending.caf")
The sound is in the folder (blue) alarmSounds in the main project folder.
The sound used is always the default sound instead of mine. I also tried it without the "alarmSound/" in the "named:" parameter but still not working.
Is there something special I need to do with the sound files?
This is using xcode 9 and trying it on an iOS 11 device.