SDK Compile error in Xcode 10 with swift 4.2

when i am try the sample with xcode10 with swift 4.2, i am getting the error like

“Module compiled with Swift 4.0.3 cannot be imported in Swift 4.2”

Can you please suggest to fix this issue