title: pod installs swift 2.3 frameworks instead of swift 3 code
body: <p>hi i am trying to install some frameworks using cocoapods and when i run 'pod install' it installs swift 2.3 frameworks which are not supported in swift 3 </p>
  
  <p>For Example </p>
  
  <pre><code># platform :ios, '9.0'
  
  pod 'BarcodeScanner'
  target 'WhiskyBazar' do
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks
   use_frameworks!
  
  
   # Pods for WhiskyBazar
  
   target 'WhiskyBazarTests' do
    inherit! :search_paths
    # Pods for testing
   end
  
   target 'WhiskyBazarUITests' do
    inherit! :search_paths
    # Pods for testing
  end
  end
  </code></pre>
  
  <p>when i run the above, it always installs barcode scanner version 1.0.0 which is supported in swift 2.3. But the latest version of barcode scanner is barcode scanner 2.0.0 which supports swift 3. please advice what changes i have to make in my project to install the latest version of the pod which supports swift 3.0</p>