instantsearch-ios
instantsearch-ios copied to clipboard
Breaking changes in dependencies
Describe the bug 🐛
Originally reported in algoliasearch-client-swift but it feels more relevant here. Feel free to close that issue if you like.
One of instantsearch-ios dependencies has introduced a breaking change that prevents instantsearch-ios from building on iOS 15. It bumps the minimum target to iOS 14, but instantsearch-ios has a minimum target of iOS 9. This prevents compilation, even if you are targeting a higher version than iOS 9.
To Reproduce 🔍 Steps to reproduce the behavior:
- Clone this project
- Open the Example Xcode project
- Wait for package resolution
- Attempt to build
Expected behavior 💭 Example project should build.
Screenshots 🖥
Environment:
- OS: iOS
- Version 15+
- Xcode 15
Additional context
You can work around this issue by manually adding https://github.com/algolia/algoliasearch-client-swift to your project, and setting the resolution rule to be exact: 8.19.0
Hi @squarefrog , That's indeed an unexpected breaking change. Thanks for flagging this! We're preparing an update for InstantSearch iOS to fix it. Expect a release soon. Meanwhile, your workaround with the explicit client version setting is a good interim solution.
Sounds good!
Hi @VladislavFitz when would the fix go live? Our CI workflows fail with the above-mentioned error
hi is there a fix for this yet?
Any update for this?
Also waiting on a fix for this
Any update? We'd love to have it fixed :)
Any update on this?
@nickvlku any chance having this fixed? 🥲
We're preparing an update for InstantSearch iOS to fix it. Expect a release soon.
For when can we expect this release? We might have different definitions of "soon" 😒
@NicolasBrunnerSRF have you tried updating instantsearch-ios to v7.26.2? It was released a few ago and realigned supported platform versions with the API client library.
As far as I’m concerned 7.26.2 does indeed fix this and the issue should be closed.
@dhayab I can also confirm that v7.26.2 does fix the issue 🥳 Thanks for the update!