title: Can I downgrade swift version to moderate error 'Module compiled with Swift x.x cannot be imported by the Swift x.x compiler'?
body: <p>I recently started my very first swift experience and I got an error </p>
  
  <blockquote>
    <p>'Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0
    compiler'</p>
  </blockquote>
  
  <p>I thought that I can moderate this error just selecting my swift language version on build settings. but it doesn't work.</p>
  
  <p><a href="https://i.stack.imgur.com/EX5hd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EX5hd.png" alt="enter image description here"></a></p>
  
  <p>After few searching, I found that there are two options </p>
  
  <ol>
  <li>Downgrade Xcode</li>
  <li>Update modules or Rebuild modules using swift 5.0</li>
  </ol>
  
  <p>Are they only options I got? I don't know why changing swift language version does not do anything. </p>