My system sound in Swift is not played <p>This what I use:</p> <pre><code>if let filePath = NSBundle.mainBundle().pathForResource("Aurora", ofType: "aiff") { //it doesn't gets here let fileURL = NSURL(fileURLWithPath: filePath) var soundID:SystemSoundID = 0 AudioServicesCreateSystemSoundID(fileURL, &amp;soundID) AudioServicesPlaySystemSound(soundID) } </code></pre> <p>How to do this? I've read a lot about this, but nothing has worked.</p> <p>Testing on a real device.</p>