Compiler error: Invalid library file - CoreLocation

前端 未结 6 1724
無奈伤痛
無奈伤痛 2021-02-06 23:09

I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app.

I have update app with latest iOS till now. and i

6条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 23:56

    For me, this only happens when I have Traffic turned on for the map.

    I leave the feature on but turn it off in the simulator:

    @IBOutlet
    var mapView: MKMapView? {
        didSet {
            #if targetEnvironment(simulator)
            mapView?.showsTraffic = false
            #endif
        }
    }
    

提交回复
热议问题