title: Xcode Swift - App crashes when button pressed
body: <p>So the code that I have is linked to a storyboard with a button on it. The button was suppose to send out a sound effect called Laughing. But when the button is pressed. The app crashes and sends this error "Thread 1: signal SIGABRT</p>
  
  <pre><code>    //
       //  ViewController.swift
       //  LaLaLaughing
       //
       //  Created by MightyShin on 5/16/16.
       //  Copyright © 2016 Reverze. All rights reserved.
       //
  
       import UIKit
       import AVFoundation
  
      class ViewController: UIViewController {
  
      var audioPlayer = AVAudioPlayer()
  
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view, typically from a nib.
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  
      @IBAction func LaughSound(sender: AnyObject) {
  
          var alertSound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource("Laughing", ofType: "mp3")!)
  
          do {
              // Preperation
              try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback)
          } catch _ {
          }
          do {
              try AVAudioSession.sharedInstance().setActive(true)
          } catch _ {
          }
  
          // Play the sound
          do {
              audioPlayer = try AVAudioPlayer(contentsOfURL: alertSound)
          } catch _{
          }
  
          audioPlayer.prepareToPlay()
          audioPlayer.play()
      }
  }
  </code></pre>