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 5.1 cannot be imported by the Swift 5.1.3 compiler #46

Closed
giordanocardillo opened this issue Jul 2, 2020 · 5 comments

Comments

@giordanocardillo
Copy link

Hello, I'm having problems on my project using this library. I've found this StackOverflow article, is this flag already in the build process for the library?

BUILD_LIBRARY_FOR_DISTRIBUTION

https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler

@FabrizioBrancati
Copy link
Owner

Hi @giordanocardillo, I've just enabled the BUILD_LIBRARY_FOR_DISTRIBUTION flag on the framework project, you can find it on the develop branch.

How are you integrating the framework?
Because BFKit-Swift is open-source and you can build it by yourself, without errors about the Swift version.

@giordanocardillo
Copy link
Author

Hi, I’m using it with cocoapods

@FabrizioBrancati
Copy link
Owner

If you're using CocoaPods an error like this is strange. Did you try to clean and build again?

@FabrizioBrancati
Copy link
Owner

Hi @giordanocardillo, news about this issue? 😄

@FabrizioBrancati
Copy link
Owner

Hi @giordanocardillo, I will close this issue due to inactivity, feel free to reopen if you still encounter this error

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

2 participants