title: ios-charts: unable to import library to a new project
body: <p>I am unable to integrate  <a href="https://github.com/danielgindi/ios-charts" rel="nofollow noreferrer">the iOS-chart project</a> / library in a custom project.</p>
  
  <p>Here are the steps I do:</p>
  
  <ul>
  <li>open the demo application on Xcode </li>
  <li>locate the charts library in the original demo code</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/mtOP0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mtOP0.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>click on show in finder and copy the items to the new project</li>
  <li>the new project has now 2 targets. I check that the target containing the view (ChartIn) does actually link to the library. It does.</li>
  <li>I compile the library (in the new project)</li>
  <li>I then compile and run the ChartIn but I get the following error:</li>
  </ul>
  
  <blockquote>
    <p>dyld: Library not loaded: @rpath/Charts.framework/Charts   Referenced
    from:
    /private/var/mobile/Containers/Bundle/Application/0C7EC6DC-94B6-4205-8E71-0F704B2A7523/ChartIn.app/ChartIn
    Reason: image not found</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/iqSXK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iqSXK.png" alt="enter image description here"></a></p>