iOS Mapbox Maps v10 和 Mapbox Search SDK 不兼容问题
iOS MapboxMaps v10 and MapboxSearch SKD incompatibility issues
我们有一个使用 mapbox 地图和 mapbox 搜索的 iOS 应用程序,我们正在尝试移植到 mapbox 地图的 v10。
我们原来的 cocoa podfile 看起来像这样(一切正常):
pod 'Mapbox-iOS-SDK'
pod 'MapboxSearch', '= 1.0.0-beta.3'
在 v10 install instructions 之后,我们将播客文件更新为:
pod 'MapboxMaps', '10.0.0-rc.1'
pod 'MapboxSearch', ">= 1.0.0-beta.3", "< 2.0"
但是当我们运行'pod install'
时出现如下错误
[!] CocoaPods could not find compatible versions for pod
"MapboxCommon": In snapshot (Podfile.lock):
MapboxCommon (= 9.0.2, ~> 9.0.0)
In Podfile:
MapboxMaps (= 10.0.0-rc.1) was resolved to 10.0.0-rc.1, which depends on
MapboxCommon (~> 14.0.1)
MapboxSearch (< 2.0, >= 1.0.0-beta.3) was resolved to 1.0.0-beta.3, which depends on
MapboxCommon (~> 9.0.0)
Specs satisfying the MapboxCommon (= 9.0.2, ~> 9.0.0), MapboxCommon (~> 14.0.1), MapboxCommon (~> 9.0.0)
dependency were found, but they
required a higher minimum deployment target.
我们也尝试了 pod 'MapboxSearch', '>= 1.0.0-beta.5.2' 并遇到了类似的兼容性问题。
有谁知道这些框架是否有兼容版本?
提前致谢:)
此版本似乎兼容:
pod 'MapboxMaps', '10.0.0-rc.3'
pod 'MapboxSearch', '1.0.0-beta.7'
我们有一个使用 mapbox 地图和 mapbox 搜索的 iOS 应用程序,我们正在尝试移植到 mapbox 地图的 v10。
我们原来的 cocoa podfile 看起来像这样(一切正常):
pod 'Mapbox-iOS-SDK'
pod 'MapboxSearch', '= 1.0.0-beta.3'
在 v10 install instructions 之后,我们将播客文件更新为:
pod 'MapboxMaps', '10.0.0-rc.1'
pod 'MapboxSearch', ">= 1.0.0-beta.3", "< 2.0"
但是当我们运行'pod install'
时出现如下错误[!] CocoaPods could not find compatible versions for pod "MapboxCommon": In snapshot (Podfile.lock): MapboxCommon (= 9.0.2, ~> 9.0.0)
In Podfile: MapboxMaps (= 10.0.0-rc.1) was resolved to 10.0.0-rc.1, which depends on MapboxCommon (~> 14.0.1)
MapboxSearch (< 2.0, >= 1.0.0-beta.3) was resolved to 1.0.0-beta.3, which depends on MapboxCommon (~> 9.0.0)
Specs satisfying the
MapboxCommon (= 9.0.2, ~> 9.0.0), MapboxCommon (~> 14.0.1), MapboxCommon (~> 9.0.0)
dependency were found, but they required a higher minimum deployment target.
我们也尝试了 pod 'MapboxSearch', '>= 1.0.0-beta.5.2' 并遇到了类似的兼容性问题。
有谁知道这些框架是否有兼容版本?
提前致谢:)
此版本似乎兼容:
pod 'MapboxMaps', '10.0.0-rc.3'
pod 'MapboxSearch', '1.0.0-beta.7'