title: CocoaPods pod install. Modules cannot be imported
body: <p>I installed CocoaPods by using <code>$ sudo gem install cocoapods</code>.</p>
  
  <p>I have a swift Xcode project with the following podfile</p>
  
  <pre><code>platform :ios, '8.2'
  use_frameworks!
  
  target 'Clover' do
  
  pod 'Alamofire', '~&gt; 1.2'
  pod 'SwiftyJSON', '~&gt; 2.2'
  pod 'ObjectMapper', '~&gt; 0.12'
  pod 'ImageLoader', '~&gt; 0.3.0'
  pod 'SVProgressHUD'
  
  end
  
  target 'CloverTests' do
  
  end
  </code></pre>
  
  <p>After I run pod install, which seems to run correct with no error messages, I have a <code>Pods</code> folder generated with <code>Pods.xcodeproject</code> along with several other files.</p>
  
  <p>However, when attempting to compile the project, I will into errors telling me my modules are not found. The error message is <code>No such module</code> followed by the module name.</p>
  
  <p>I then attempted to install the modules manually and confirmed that the pods are indeed not working as each module after its manual installation, works.</p>
  
  <p>I have searched and attempted several solutions as follows:</p>
  
  <ol>
  <li>Deleted and reinstall pod.</li>
  <li>Upgraded ruby to 2.2.1</li>
  <li>Delete the pods folder and re-run $ pods install.</li>
  <li>Clean the project.</li>
  </ol>