如何使用Mapbox实现转弯导航

我已经使用cocoapods安装了Mapbox。 框架也附在我的项目上。 但是,在我的viewController我无法导入MapboxDirections和MapboxNavigation。 我只能导入Mapbox。 为什么发生这种情况?

podfile的内容是:

# Uncomment the next line to define a global platform for your project platform :ios, '11.1' target 'TurnbyTurnMapBox' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for TurnbyTurnMapBox pod 'MapboxNavigation', '~> 0.9' end 

Interesting Posts