title: Opening import file for module 'Swift' Permission denied
body: <p>I'm a newbie at working in Xcode and swift.
  I was working on a iOS project on my macbook (while on holiday), and i've been using github version control, i've now returned to home and now working on my mac mini.
  Currently working in Xcode 6.3.1 and the target is for iOS 8.3</p>
  
  <p>So i've cloned my project on the mac mini, and when opening and trying to build the project i get the error: </p>
  
  <blockquote>
    <p>Opening import file for module 'Swift': Permission denied</p>
  </blockquote>
  
  <p>I'm looking at the errors and it seems to be 4 issues, my AppDelegate.swift, and 3 ViewController.swift files (i only have 3 of these at the moment)</p>
  
  <p>I've had a look at another question on here - <a href="https://stackoverflow.com/questions/26258264/opening-import-file-for-module-swift-permission-denied">Opening import file for module &#39;Swift&#39;: Permission denied</a> but it's not relevant to my issue.</p>
  
  <p>A couple things i noticed were </p>
  
  <ol>
  <li>some of my frameworks i.e. parse and bolts were highlighted in red,
  i pointed them to the location of these on my mac mini (not sure if
  that was the correct thing to do), but they aren't highlighted
  anymore.</li>
  <li>Under the products folder, my .app and .xctest files are highlighted
  red. Not sure how to fix that</li>
  </ol>
  
  <p>Has anyone encountered this before? I would really appreciate the help from you guys.</p>
  
  <p>Cheers
  Gareth </p>