title: Swift code completion not working with Cocoapods
body: <p>I have an demo app that uses various internal development pods written in swift. All of the swift code in the development pods has trouble code completing. For example, when holding command and clicking on <code>import UIKit</code>, Xcode complains of a <code>Symbol Not Found</code> when tapping on <code>UIKit</code>. There's no compiler errors, everything builds and runs just fine.</p>
  
  <p>If I have swift code outside of the pod in the demo project itself, that code completes just fine, but when I put it in a pod and run <code>pod install</code>, it either stops code completing immediately, or works for a few hours / <code>pod update</code> commands, and then randomly stops working. I have other development pods in my project, and those written in Objective-C have no trouble code completing ever.</p>
  
  <p>I have tried multiple different solutions, namely the solutions listed here: <a href="https://stackoverflow.com/q/25883905">Xcode 6 Swift code completion not working</a>. None of these worked for me.</p>
  
  <p>I tried various combinations of these solutions from the post above multiple times: </p>
  
  <ul>
  <li>deleting Xcode's derived data</li>
  <li>selecting a different simulator device to force a re-index</li>
  <li>deleting Cocoapod's cache (both in the library and the Podfile.lock and Pods directory)</li>
  <li>running <code>pod deintegrate</code> and then <code>pod install</code></li>
  <li>restarting Xcode and computer</li>
  <li>using different versions of Xcode (6.3.2, 6.4, 7.0-beta2)</li>
  <li>on a completely different machine</li>
  </ul>
  
  <p>None of which seem to work. </p>
  
  <p>Any help would be greatly appreciated!</p>