title: How to import a framework with cocoa pods and swift 3
body: <p>I am trying to add the JWPlayer SDK to my new Swift project using CocoaPods.</p>
  
  <p>I create a new project. Add the following to a Podfile</p>
  
  <pre><code>use_frameworks!
  target 'JWPlayerTutorial' do
   pod 'JWPlayer-SDK', '~&gt; 2.0'
  end
  </code></pre>
  
  <p>I then add an import statement to a view controller:</p>
  
  <pre><code>import Pods_JWPlayerTutorial
  </code></pre>
  
  <p>or</p>
  
  <pre><code>import JWPlayer_SDK
  </code></pre>
  
  <p>When I try <code>var player: JWPlayer</code> I get the error:</p>
  
  <pre><code>Use of undeclared type JWPlayer
  </code></pre>
  
  <p>Should I be adding a bridging header? Should I be adding the framework to build phases? Do I need to change linker flag settings? What is the correct import statement to use?</p>
  
  <p>Here is a screenshot of my project structure:
  <a href="https://i.stack.imgur.com/Y0ffU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y0ffU.png" alt="enter image description here"></a></p>