I’ve been using AlgoliaSearch-Client-Swift (via CocoaPods) for about 2 years in my app. Today, I changed the platform iOS version in my podfile to (10.0) then I updated my pods. This downloaded a dozen newer pods for a dozen other libraries I am using, but it did not update AlgoliaSearch-Client-Swift. Next I try to build and get this error:
… Pods/AlgoliaSearch-Client-Swift/Sources/AlgoliaSearch-Client/Cache.swift:56:56: ‘default’ has been renamed to ‘RunLoopMode.defaultRunLoopMode’
I don’t know a whole lot about Swift, I use the library via a Obj-C wrapper which I wrote. But it sounds to me like this is an issue about Swift versions, like the AlgoliaSearch-Client/Cache class is using out of date Swift code.
I am also seeing a warning saying Swift Mode 3 has been deprecated, but, I saw that before I changed my CocoaPod iOS target to 10.0 also, and there was no compiler error. Somehow updating my CocoaPods seems to have forced the Swift code to require 4.x maybe? I am guessing here.