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
592 stars 55 forks source link

Unable to load instantsearch-ios in Xcode 13 project via SPM #212

Closed bennettk closed 2 years ago

bennettk commented 2 years ago

Describe the bug 🐛 Attempting to follow the instructions on https://www.algolia.com/doc/guides/building-search-ui/getting-started/how-to/programmatically/ios/ in Xcode 13 but the package is unresolvable. Going directly to the link on github.com in Safari works.

To Reproduce 🔍 Steps to reproduce the behavior:

  1. Follow the instructions up to the point of 'Add InstantSearch dependency' on https://www.algolia.com/doc/guides/building-search-ui/getting-started/how-to/programmatically/ios/
  2. In Xcode 13.1, go to File... Add Package and paste https://github.com/algolia/instantsearch-ios into the search box. Note that "Unable to load the Read Me." appears. If you click 'Add Package', it ultimately fails with the error that instantsearch-ios could not be resolved.

Expected behavior 💭

  1. The instantsearch-ios swift package loads
  2. I can happily complete the getting started programmatically tutorial
  3. Profit?

Screenshots 🖥

Screen Shot 2021-12-15 at 2 32 19 PM Screen Shot 2021-12-15 at 2 28 52 PM

Environment:

bennettk commented 2 years ago

Hm, I retried this a few days later on Xcode 13.2.1 and it all seems to be resolved. I'll close this issue.

image