Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler #148

Open
mflknr opened this issue Mar 27, 2020 · 1 comment

Comments

@mflknr
Copy link

mflknr commented Mar 27, 2020

I updated Xcode to Version 11.4 and with it Swift to 5.2. When i build a project containing this framework I get the following error:
Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler

Describe the solution you'd like
https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler
A solution might be to set BUILD_LIBRARY_FOR_DISTRIBUTION to yes.

@StanDimitroff
Copy link

Similar issue with Swift 5.3 compiler

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

No branches or pull requests

2 participants