title: Does Both Referencing an Asset Catalogue and Including it from a Framework Create Duplication?
body: <p>As discussed <a href="https://stackoverflow.com/questions/48704502/how-to-set-image-in-storyboard-from-framework-assests">here</a> &amp; <a href="https://stackoverflow.com/questions/41245422/storyboard-uiimageview-load-image-from-bundle">here</a>, the only apparent way to host re-usable images in a Framework's <code>.xcassets</code> file, then use those images in the <em>storyboard / XIB</em> of an app, is to manually create a reference to that catalog file directly within the app's project. This puts the assets within the app's main bundle, and avoids this error when trying to use them via Interface Builder:</p>
  
  <blockquote>
    <p>Could not load the "ImageName" image referenced from a nib in the
    bundle with identifier "BundleName"</p>
  </blockquote>
  
  <p>My question, though, is: <strong>Does this lead to duplication of the assets at build-time?</strong> Is iOS smart enough not to double-up assets which are both:</p>
  
  <ul>
  <li>Referenced in the app's main bundle <em>and</em></li>
  <li>Included in the bundle of an embedded framework</li>
  </ul>
  
  <p>If this does lead to duplication, what other approach can achieve the same result more efficiently? The framework needs to be embedded in the app, because it contains other reusable code, and the assets need to be in the framework's catalog, because they're also used in other apps.</p>