Search code examples
iosxcodealgoliaswift-package-managerinstantsearch

Algolia InstantSearch Swift Package Manager throws Compile error


I am trying to integrate InstantSearch Library via Swift Package Manager.

However, I get this error while compiling:

error: The package product ‘AlgoliaSearchClient’ requires minimum platform version 14.0 for the iOS platform, but this target supports 12.0 (in target ‘InstantSearchCore’ from project ‘InstantSearch’)

Note : All our targets supports minimum deployments target of 14 and more.

Please see the screenshot of the error here.


Solution

  • Think there is an issue with the latest version of this package. To resolve in the meantime I have rolled mine back to use v8.19.0 as below which seems to work.

    Changes