I am playing with a navigation app in swift to learn mapbox. I ran into an issue while adding a Textbox which is supposed to use the MapboxSearchUI pod, because I can't install it. My Terminal gives me some errors, I am thinking the versions could be incompatible. Somehow, the pod install lines from mapbox itself don't work together. The Pods I used to use and which worked fine:
pod 'Mapbox-iOS-SDK', '~> 6.3.0'
pod 'MapboxNavigation', '~> 1.4.2'
The Pod I am trying to add which breaks my pod install:
pod 'MapboxSearchUI' , ">= 1.0.0-beta.9", "< 2.0"
I copied it straight from their website. Terminal gives me this:
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "MapboxMobileEvents":
In snapshot (Podfile.lock):
MapboxMobileEvents (= 0.10.8, ~> 0.10.2, ~> 0.10.4)
In Podfile:
MapboxSearchUI (< 2.0, >= 1.0.0-beta.9) was resolved to 1.0.0-beta.9, which depends on
MapboxSearch (< 2.0, >= 1.0.0-beta.9) was resolved to 1.0.0-beta.9, which depends on
MapboxMobileEvents (~> 1.0.2)
Specs satisfying the `MapboxMobileEvents (= 0.10.8, ~> 0.10.2, ~> 0.10.4), MapboxMobileEvents (~> 1.0.2)` dependency were found, but they required a higher minimum deployment target.
Does anyone know what causes the issue and maybe what version I could use? I usually don't use the terminal therefore can't really use trial and error. Removing the version behind the Maobox Search didn't work though.
Thanks!