title: XCode 9: Module compiled with Swift 3.0.2 cannot be imported in Swift 3.2
body: <p>I'm trying to build a project using Realm which is installed using pods. I've done this:</p>
  
  <pre><code>   1) Updated to XCode 9
     2) Run "pod update".  Note the podfile has SWIFT_VERSION set to 3.2 
     3) Checked in XCode settings that Swift Language version is set to 3.2
          for all the projects and targets.
     4) Deleted derived data 
     5) Cleaned everything 
     6) Quit and re-launched XCode 
     7) Rebuilt everything, including explicitly rebuilding the Realm targets
  </code></pre>
  
  <p>Despite everything being set to Swift 3.2, despite cleaning everything, despite deleted derived data, despite rebuilding everything. Still I keep getting this error:</p>
  
  <blockquote>
    <p>"Module compiled with Swift 3.0.2 cannot be imported in Swift 3.2".</p>
  </blockquote>
  
  <p>It is saying this for the RealmSwift library.</p>
  
  <p>Why, when the RealmSwift target is set to 3.2, and it has been rebuild, why why why is it still saying its 3.0.2?</p>