ceeK / Solar

A Swift micro library for generating Sunrise and Sunset times.
MIT License
568 stars 82 forks source link

Xcode 10 build error #34

Closed euroboy closed 6 years ago

euroboy commented 6 years ago

After updating Xcode to version 10, it shows me the following error on import Solar: Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler. Any ideas how to fix this?

raysarebest commented 6 years ago

You've compiled Solar using Swift 4.1.2, but your app is in Swift 4.2. You need to recompile Solar using Swift 4.2

euroboy commented 6 years ago

@raysarebest Thank you for help, it worked.