Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler #32

Closed
adrianorezena opened this issue Mar 26, 2019 · 10 comments

Comments

@adrianorezena
Copy link

My project stopped compiling now that Apple released the Swift 5.0.

The error code presented is:

Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler: /Users/adriano/Documents/app/daily/stickers/Pods/TinyCrayon/TCMask.framework/Modules/TCMask.swiftmodule/x86_64.swiftmodule

@iHardikTrivedi
Copy link

The same issue with me, please help

Screenshot 2019-03-28 at 00 25 56

@jonlund
Copy link

jonlund commented Mar 27, 2019

same

@DanielZanchi
Copy link

same here :(

@hardikmayani
Copy link

same problem

@zengxinzhy
Copy link
Contributor

Please download the latest release, it is built with Swift 5.0.

When Apple release a new Swift version, we need a few days to refactor the code and rebuild the SDK with using the latest Swift version.

Next time, if you need to solve the problem as soon as possible, you can switch to an older Swift version in your build settings.

image

@DanielZanchi
Copy link

@zengxinzhy does this release have the "eye" button in the maskview?

@hardikmayani
Copy link

hardikmayani commented Mar 31, 2019 via email

@mingxun
Copy link

mingxun commented Apr 5, 2019

I have a similar issue. I just updated to xcode 10.2 and had a similar error. And change the 'Swift Language Version" to 4.2 could not resolve the issue. Does changing the 'Swift Language Version" to 4.2 work for you?

@DanielZanchi
Copy link

DanielZanchi commented Apr 5, 2019 via email

@alexdecor
Copy link

I need the ‘eye’ button, too. thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants