title: Xcode 10 - Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler
body: <p>Existing project working in Xcode 9.3 and suddenly giving error in Openpay Framework while run in Xcode 10 (not beta version).</p>
  
  <p>My swift version is 4.2, if i changed to Swift 4 or Swift 3 then also same error.</p>
  
  <p><strong>I have tried following things but not worked..</strong></p>
  
  <ul>
  <li>pod file update</li>
  <li>clean and build project</li>
  <li>delete derived data and clean-build project</li>
  <li>quit xcode. open again, clean and build.</li>
  <li>sudo xcode-select -switch /Applications/Xcode.app</li>
  <li>carthage update --platform iOS --no-use-binaries</li>
  </ul>