-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Enable Module Stability #68
Comments
I tried some things but couldn't make it work...
Note: I had to force -swift-version, otherwise it prints a warning:
(probably because PathKit dependency is still using // swift-tools-version:4.2) Then, I moved the generated .swiftinterface files inside
|
In the project where I used this (and it worked) I used |
After more digging, I did manage to enable module stability successfuly and tested the same binary with Swift 5.3.2 and Swift 5.4. Unfortunately, it was not clean. Here are the changes:
It works but it's hacky. What do you think? |
Holy crap, the XcodeProj one is unfortunate. My fear with that one is that they'll change something in Swift and we'll end up with broken interfaces. I think we can ask them to change the name of the library, I can do that. The other workarounds are fine, we aren't supposed to ship all the files (I started doing that because I thought it would fix the stability once) |
@rockbruno do you have any plans on renaming the library or main swift file? Btw I install the 2.6 with brew, and it is still has an error: module map file '/usr/local/bin/../include/swiftinfo/Csourcekitd/include/module.modulemap' not found Any ideas? Do you have the same with pods? |
https://twitter.com/rockbruno_/status/1375472185943470082
We can now enable module stability so new versions don't need to be built.
The text was updated successfully, but these errors were encountered: