Search code examples
xcodeentitlements

libMobileGestalt MobileGestaltSupport.m:153: pid 1668 does not have sandbox access in Xcode console


I'm seeing this message in the Xcode console whenever I run the app:
libMobileGestalt MobileGestaltSupport.m:153: pid 1668 (APP_NAME) does not have sandbox access for frZQaejlsahdhlemg and IS NOT appropriately entitled


Solution

  • After digging into it, I found that embedding a UIViewController -or any subclass of it- in a navigation controller is the main reason to show this error message.
    I'm not sure what exactly makes the navigation controller show this message.

    Edit 1:

    After Xcode 9, I'm not seeing this issue anymore with new projects created in Xcode 9

    Edit 2:

    In Xcode 9, I saw the same error when working with CGRect.