title: How do I add an MP3 to my iOS/Xcode project?
body: <p>I am trying to program an app that includes several songs. Looking through various tutorials they just say to "add your file to the project" or some such so I have tried adding my MP3 to various places (including xcassets) but it is never copied to the output of my project or played.</p>
  
  <p>In other words, this always return nil:</p>
  
  <pre><code>let path = NSBundle.mainBundle().pathForResource(audioFile, ofType: "mp3")
  </code></pre>
  
  <p>This seems <em>dead simple</em> stuff and it is driving me crazy that it won't simply play the file. I have tried it in the root directory, a directory that I create named "resources" (since several sources say to "add it to resources"), and even in the xcassets. However, it always comes back nil.</p>
  
  <p>Note that I am in Xcode 7 (the beta) developing for the latest iOS and using Swift 2. The file is about 53MB in size.</p>
  
  <p>Any help is very much appreciated!</p>