iOS(swift)百度地图 Use of undeclared type ‘BMKMapView‘

在这里插入图片描述

要在桥接文件中同时导入#import <BaiduMapAPI_Base/BMKBaseComponent.h>和#import <BaiduMapAPI_Map/BMKMapComponent.h>

在这里插入图片描述
百度的文档里忘记写要导入#import <BaiduMapAPI_Map/BMKMapComponent.h>了
在这里插入图片描述

百度地图-iOS的SDK