title: Load image from iOS 8 framework
body: <p>I'm trying to load an image from an iOS 8 framework that I'm writing (in Swift). I'm using Xcode 6 Beta 6</p>
  
  <p>This code does not work (i.e. load image) if the image is stored in my framework's <code>Images.xcassets</code>:</p>
  
  <pre><code>let image = UIImage(named: "Background.png")
  </code></pre>
  
  <p>If the image is stored in an <code>Images.xcassets</code> of a host application (that uses the framework), then the image is loaded properly (from code inside the framework).</p>
  
  <p>I can see that the framework's <code>Images.xcassets</code> is included in the <code>Copy Bundle Resources</code> phase.</p>
  
  <p>I'm also using a storyboard file as a resource in the framework; and this loads properly.</p>
  
  <p>I've tried renaming the Images.xcassets of the framework to avoid some kind of naming collision with the host application, but this doesn't work either.</p>