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

modernize composable architecture syntax #77

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ZevEisenberg
Copy link
Contributor

Resolves warnings in example project that were introduced when TCA was updated to 0.26.0 or higher.

@ohitsdaniel
Copy link
Contributor

I think we need to update TCA in the example project to get this to pass on CI. Could you Update to latest package versions in the workspace and commit the Lockfile changes? :)

@ZevEisenberg
Copy link
Contributor Author

I did, and got no Git changes, and Xcode is showing me TCA 0.28.1. I'll try bumping the version in the Package.swift and see if that helps?

@ohitsdaniel
Copy link
Contributor

https://github.com/Bahn-X/swift-composable-navigator/runs/4085428175?check_suite_focus=true#step:5:86

According to the looks, CI uses 0.28.1 as well. I'll check later tonight why CI fails (in roughly 3 hours), my first assumption was wrong, sorry!

@ZevEisenberg
Copy link
Contributor Author

Bumped TCA in Package.swift to 0.28.0+ before seeing your message. Feel free to revert if that's not helpful; it looks like that would update it for the whole library, so probably more invasive than you want. I didn't see a way to update it for just the example project.

Anyway, this isn't blocking me or anything, just noticed the warnings while looking at something else in the example project. Thanks for looking at it 😄

@ZevEisenberg
Copy link
Contributor Author

Aha:

// NB: `BindableAction` can produce crashes in Xcode 12.4 (Swift 5.3) and earlier due to an enum
//     protocol witness bug: https://bugs.swift.org/browse/SR-14041
#if compiler(>=5.4)

@ZevEisenberg
Copy link
Contributor Author

(And tests are running on Xcode 12.4.)

@ohitsdaniel
Copy link
Contributor

Ah, thanks for investigating! Guess it's time to bump CI to Xcode 13. 🙈

@ZevEisenberg
Copy link
Contributor Author

I'm using 12.5, fwiw. But yes 😊

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

Successfully merging this pull request may close these issues.

None yet

2 participants