title: Autocomplete not working for test files
body: <p>Code completion has been a continuing issue for me and lately there's been a new wrinkle.  Normally I can just delete the derived data folder and rebuild, sometimes having to exit Xcode, but now I've hit an issue I can't solve.</p>
  
  <p>Auto complete is working in my base project, by that I mean if I'm in a file that is building with the program, code completion works.  But if I start writing a test case in a code module that builds with the test target) completion will not work with any of the main target classes or variables.</p>
  
  <p>I have @testable import [target] and it's been working in the past.</p>
  
  <p>The only thing I've done recently is move my repo off my iCloud drive because it was causing Xcode to crash whenever a did a pull onto a local hard drive location.</p>
  
  <p>Is there some location in the project settings that determine where Xcode looks? Is there some hidden cache I need to delete?  programming without code completion is a nightmare.</p>
  
  <p>Using the latest 8.2.1 Xcode with all my code in Swift 3.</p>