algolia / instantsearch-ios

⚡️ A library of widgets and helpers to build instant-search applications on iOS.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/ios/
Apache License 2.0
598 stars 59 forks source link

Type PageMap<Item> does not conform to protocol #328

Open seanmiller802 opened 1 month ago

seanmiller802 commented 1 month ago

Describe the bug 🐛 Seeing this issue when trying to build my iOS project that uses InstantSearch

Environment:

Additional context Works on Xcode 15 on macOS 14.5

377944331-d5fdf95c-8233-472c-bdba-4cd2c43f0074

RafaelBadaro commented 1 week ago

@seanmiller802 I was facing a "similar" issue: Screenshot 2024-11-14 at 13 48 53

And what I did to solve was:

  1. I went to the PageMap.swift file
  2. Compared what I had on my PageMap.swift and noticed this: image

    (on the left is what I have and on the right what's currently on the file on this repo)

So I copied the change over and my app built

I don't know if it's the correct fix or if it's even legal to do this, but It worked... hope it helps

I just updated to Sequoia 15.1 and xcode to 16.1.