indragiek / DominantColor

Finding dominant colors of an image using k-means clustering
MIT License
960 stars 93 forks source link

error message when build: Module compiled with Swift 4.0 cannot be imported in Swift 4.1.50: #41

Closed alelordelo closed 4 years ago

alelordelo commented 6 years ago

Any fix for this issue?

indragiek commented 4 years ago

It means you're using a newer version of Swift than the library was compiled with, so you have to re-compile the library with the newer Swift compiler. I just released v0.2.0 which is built using Swift 5.