Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8.3 libMobileGestalt MobileGestaltSupport.m:153:

I'm using UIWebView XCode Version 8.3. My console continues to show me this error when I start the app and I do not understand what it means. In my UIViewController there is no code so I do not understand why XCode continues to show me this error.

I have only one place in my webview viewcontroller by Storyboard.

This is the error:-

2017-04-07 23:54:50.081592+0200 Conquers[1647:697735] libMobileGestalt MobileGestaltSupport.m:153: pid 1647 (Conquers) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled

2017-04-07 23:54:50.081651+0200 Conquers[1647:697735] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see )

like image 776
kAiN Avatar asked Apr 07 '17 22:04

kAiN


1 Answers

Just by searching on the web when I came across this issue and found that can be an Apple error (no bugs or crash are appearing with this error in my app).

If the error occurs only when you set up the UIWebView on your app. I would check if the app has configured correctly the "App transport security Settings" in your .plist

if you inspect your .plist you can add it by hand like:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSExceptionDomains</key>
    <dict>
        <key>add-your-site-here-if-needed</key>
        <dict>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSIncludesSubdomains</key>
            <true/>
        </dict>
    </dict>
</dict>

This happens to me also when I added some third-party code like FirebaseSDK. And it suddenly stops appearing after I setup correctly my URL schemes for all my environments. So I´m assuming that this error appears when something is not fully/correctly implemented like in a snowball effect by Apple side code.

NOTE: You can also try to go back a few steps back on when the error occurs to narrow down the possibilities of occurrences of this error.

like image 142
Taka Avatar answered Nov 04 '22 12:11

Taka