Replies: 6 comments 1 reply
-
@bitomule I believe that issue was fixed in a recent version of swift-dependencies. Can you update your packages and try again? And if you're still seeing the issue, please share a project that reproduces the issue. |
Beta Was this translation helpful? Give feedback.
-
@stephencelis And, I have another question related to this issue. I would appreciate your response. Thank you! |
Beta Was this translation helpful? Give feedback.
-
My bad. I can confirm that forcing the update of swift-dependencies fixed the issue. I tried updating main package but that didn't work, I had to force Xcode to update swift-dependencies. @eunryu93 if you have the same issue try updating package. thanks @stephencelis |
Beta Was this translation helpful? Give feedback.
-
@stephencelis could the issue be because TCA is specifying it's dependency as In my complex dependency-wise project, even when I pin TCA to |
Beta Was this translation helpful? Give feedback.
-
This is the intended way to use dependencies. If you are getting a library transitively but you want to make sure it is at a specific version (or higher), then you can add an explicit dependence on the library to set the version you need. It is not expected that the base library is going to supply the exact version you need because different people may want different versions. For example, while 1.3.9 may have fixed an issue for you in the beta, it may have caused a problem for someone in Xcode 15.4. And they will have the freedom to stay at 1.3.5, or whatever version they need. In fact, we strive to keep our dependencies as loose as possible to give people maximum flexibility with what versions they need. The only time we bump versions in our dependencies is when there is a fix to a serious problem that everyone should have. But a build error in an Xcode beta does not meet that bar right now. |
Beta Was this translation helpful? Give feedback.
-
Since this isn't an issue with the library I am going to convert this to a discussion. Feel free to keep the conversation going over there. |
Beta Was this translation helpful? Give feedback.
-
Description
After updating Xcode to Xcode 17 beta 6 I started to have this build error in the withDependencies function for Swift6
Checklist
main
branch of this package.Expected behavior
Build dependencies without errors
Actual behavior
Build fails at:
With error:
Steps to reproduce
Build using Xcode 16 beta 6
The Composable Architecture version information
main
Destination operating system
iOS 16
Xcode version information
Version 16.0 beta 6 (16A5230g)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions