刚刚通过cocoapods安装了MapboxGL。我在我的ViewController中初始化它,就像给出的示例一样:@IBOutletweakvarmapViewWrapper:UIView!varmapView:MGLMapView!overridefuncviewDidLoad(){super.viewDidLoad()//MapletstyleURL=NSURL(string:"asset://styles/dark-v7.json")mapView=MGLMapView(frame:mapViewWrapper.bounds,styleURL:styleURL)mapView