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

SwiftUI demo not working whrn targeting MacOS #176

Closed alelordelo closed 2 years ago

alelordelo commented 3 years ago

Describe the bug 🐛 I am following this tutorial: https://www.algolia.com/doc/guides/building-search-ui/getting-started/how-to/declarative/ios/

When targeted iOS, the demo works fine:

When targeted MacOS, the demo doesnt work and Xcode does not recognize SearchBar( )

Really appreciate any inputs on how I can fix this!

Expected behavior 💭 A clear and concise description of what you expected to happen.

Screenshots 🖥 If applicable, add screenshots to help explain your problem.

Environment: Xcode Version 12.5 (12E262) MacOS Big Sur 11.4 (20F71)

alelordelo commented 3 years ago

fixed, issues was with

 // .background(Color(.systemGray5))
VladislavFitz commented 2 years ago

Completely fixed in #217