title: Cocoapods + Cannot load underlying module for 'x'
body: <p>I am running XCode 7, Swift 2.0, iOS 9. </p>
  
  <p>I want to install Alamofire in my project using Cocoapods. I have done the following:</p>
  
  <p><code>gem install cocoapods</code></p>
  
  <p><code>pod setup</code></p>
  
  <p><code>pod init</code></p>
  
  <p>Updated Podfile to:</p>
  
  <pre><code># Uncomment this line to define a global platform for your project
  # platform :ios, '9.0'
  use_frameworks!
  
  target 'JSONeg' do
  
    pod 'Alamofire', :branch =&gt; 'swift-2'
  
  end
  </code></pre>
  
  <p>Then I installed the pod:</p>
  
  <p><code>pod install</code></p>
  
  <p>And I added the following to ViewController.swift</p>
  
  <p><code>import Alamofire</code></p>
  
  <p>This raises the following error:</p>
  
  <p><code>Cannot load underlying module for 'Alamofire'</code></p>
  
  <p>I tested with another pod and it raised the same error, so I guess the problem is with the installation of Cocoapods. Any help would be greatly appreciated.</p>