我已经使用 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