Does not have sandbox access for something

HillsApp does not have sandbox access for something and IS NOT appropriately entitled


Why is this coming up? I am trying to use a location locater code on MKMapView, the user location is coming up but the region is not being zoomed into.

mapView.isHidden = false
mapView.mapType = MKMapType.standard
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
let location = locations[0]
let span:MKCoordinateSpan = MKCoordinateSpanMake(0.01, 0.01)
let myLocation:CLLocationCoordinate2D = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude)
let region:MKCoordinateRegion = MKCoordinateRegionMake(myLocation, span)
mapView.setRegion(region, animated:true)
self.mapView.showsUserLocation = true

Replies

That looks like an instance of this issue a bunch of us have been facing – I've done plenty of searching and haven't found any evidence anyone's understood or overcome it yet.


https://forums.developer.apple.com/thread/72286