luispadron / UICircularProgressRing

A circular progress bar for iOS written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler

psaezcube opened this issue · comments

Hi

I was testing your library, and after XCode was updated today, I can't compile your library anymore, it gives this exception:

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler

Hi, please follow the issue guidelines when posting an issue. Are you using cocoapods, carthage?

And which version are you using

Sorry Luis, I was using Cocoapods and compiling with your 6.5.0 version. Something get updated in Xcode recently, today asked me to install the updates, and after that, that error is displayed when compiling your library.

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler

Maybe can it be solved doing this in the library? https://stackoverflow.com/a/58656323

Gotcha thanks. So have you tried updating your pods? The issue is because Swift has once again broken backwards compatibility any and all libs you use must now be compiled on the new Swift compiler.

I'd recommend running a pod update if that still persists, can you try deleting the Pods directory and running pod install again?

thank you very much luis, it seems to work now :)