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

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!