Originator:indiekiduk
Number:rdar://11744455 Date Originated:
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
<Error>: libMobileGestalt MobileGestalt.c:273: server_access_check denied access to question UniqueDeviceID for pid
<Error>: libMobileGestalt MobileGestaltSupport.m:170: pid 1598 (FrameworkTest) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled
<Error>: libMobileGestalt MobileGestalt.c:534: no access to UniqueDeviceID (see <rdar://problem/11744455>)

Comments

The application stop before loading a ViewController that manages Google Maps activity in production .

2017-08-03 11:10:35.376624+0200 Peep[2198:461660] libMobileGestalt MobileGestaltSupport.m:153: pid 2198 (Peep) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled 2017-08-03 11:10:35.376771+0200 Peep[2198:461660] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see )

There are no warning when running in the simulator, this warning came up only on physical devices. In developement enviroment everything works fine in spite of the warning.

In production enviroment the app hangs just before loading the map.

Permission are checked. The warning stops when we comment the map code.

By miguel.aguilera at Aug. 3, 2017, 9:34 a.m. (reply...)

I've managed to solve the same problem for MKMapView. Apparently, that happens when your app's current permissions state doesn't correspond to entitled (declared in Info.plist) one. That effecively means that you need to call APIs to gather user's permissions explicitly and preemptively. (E.g. LocationManager.requestWhenInUseAuthorization before displaying a map with user location on it)

same error, totally different scenario (transforming a UIImage)

libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see rdar: //problem/11744455)

For me it appeared to come from setting the result of the below as a UIImageView.Image - the crash only happens when the UIImageView property gets set:

func ... (image: UIImage, transform: CGAffineTransform) -> UIImage? { var coreImage = CIImage(image: image!)

    if coreImage == nil {
        if let cgImg = image!.cgImage {
            coreImage = CIImage(cgImage: cgImg)
        }
    }

   if coreImage != nil {
        //returning UIImage(ciImage) causes [ibMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)] 
        return UIImage(cgImage: cgImage!)

        //creating a CIImage prevents the crash, but renders blank image (not nil)
        coreImage = coreImage!.applying(transform)

        let context = CIContext()
        let cgImage = context.createCGImage(coreImage!, from: coreImage!.extent)

        return UIImage(cgImage: cgImage!)

        //returning the original UIImage (as expected) has no problems
        return image
    } else {
        //fall back if nothing's worked!
        return image
    }

}

I'm new to CGImage and CIImage, if the obviously wrong, any pointers would be great.

I was trying to keep the image manipulation at least one step away from the GUI code, but looks like I'll need to apply the transforms to the UIImageView rather than manipulating the UIImage before introducing it to the GUI.

By will.gunby at April 29, 2017, 2 p.m. (reply...)

11744455

[MC] Reading from public effective user settings. libMobileGestalt MobileGestaltSupport.m:153: pid 4409 (PinPoint Xtra) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see )


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!