App launch failed with error "denied access to question UniqueDeviceID"

ZaakCHALALZaakCHALAL FRMember
edited September 2015 in Xamarin.iOS

Hi,

We are developing an App (iOS and Android) using Xamarin, the App is compiled with Ad-Hoc profile and deployed using OTA (On the Air) deployment method. after several months of use, some people are reporting that the App is not running on iPhone 5C devices wih iOS 9.0. With no iPhone 5C in hand I started testing the App using TestCloud and I'm able to reproduce the issue using iPhone 5 and iPhone 5C withiOS 8.2 and 9.0, Please find the attached device log.

The reason of the crash is explained by the below logs :

Sep 28 17:24:53 iPhone MobileGestaltHelper[81] : libMobileGestalt MobileGestalt.c:273: server_access_check denied access to question UniqueDeviceID for pid 206
Sep 28 17:24:53 iPhone ScriptAgent[206] : libMobileGestalt MobileGestaltSupport.m:170: pid 206 (ScriptAgent) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled
Sep 28 17:24:53 iPhone ScriptAgent[206] : libMobileGestalt MobileGestalt.c:534: no access to UniqueDeviceID (see <rdar://problem/11744455>)
Sep 28 17:24:54 iPhone locationd[64] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Sep 28 17:24:55 iPhone locationd[64] : Location icon should now be in state 'Inactive'
Sep 28 17:25:12 iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.loreal.mynews[0xe507][204]) : Service exited due to signal: Killed: 9
Sep 28 17:25:12 iPhone DTMobileIS[177] : Could not create service named com.apple.instruments.server.services.capabilities
Sep 28 17:25:12 iPhone SpringBoard[43] : Application 'UIKitApplication:com.loreal.mynews[0xe507]' exited abnormally via signal.

While the app is running correctly on iPhone 6, 6 Plus, 5S and 6S with iOS 8.2 and 9.0, I dont know if these errors are specific to the iPhone 5 and 5C? Could you please help us to figure out how to resolve this issue ?

Thanks for your help.

Posts

  • NicholasTurnerNicholasTurner USMember, University ✭✭

    @ZaakCHALAL

    You use the vendor unique id, the UUID is against the law of apple.

    Can you post your code for getting the id?

  • WyattNordstromWyattNordstrom USUniversity

    I'm getting the same error - and at a loss on how to continue. Any help would be appreciated.

    The error only occurs on a real iPhone. The simulator running 9.3 works fine.

    IOS 9.3.1
    IPhone 6 plus
    Xamarin.UITest version: 1.3.5
    Test server version: 0.16.4

    Apr 2 11:05:37 Wyatts-iPhone FormsTemplateiOS[217] : Found new TLS offset at 176
    Apr 2 11:05:37 Wyatts-iPhone MobileGestaltHelper[90] : libMobileGestalt MobileGestalt.c:281: server_access_check denied access to question UniqueDeviceID for pid 218
    Apr 2 11:05:37 aaaa-iPhone ScriptAgent[218] : libMobileGestalt MobileGestaltSupport.m:151: pid 218 (ScriptAgent) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled
    Apr 2 11:05:37 aaaa-iPhone ScriptAgent[218] : libMobileGestalt MobileGestalt.c:542: no access to UniqueDeviceID (see <rdar://problem/11744455>)
    Apr 2 11:05:38 aaaa-iPhone FormsTemplateiOS[217] : OnStart
    Apr 2 11:05:38 aaaa-iPhone FormsTemplateiOS[217] : Map POST, /map Parsed UIScript as
    (
    "view:'UIView'"
    )
    Apr 2 11:05:43 aaaa-iPhone gputoolsd[216] : schedule invalidation
    Apr 2 11:05:43 aaaa-iPhone gputoolsd[216] : terminating daemon 0x126609b70
    Apr 2 11:06:26 aaaa-iPhone FormsTemplateiOS[217] : Map POST, /map Parsed UIScript as
    (
    "view:'UIView'",
    "with marked:'EulaAcceptButton'"
    )

    The result are if I try to use repl to app.Tap("EulaAcceptButton") or app.Tap(c=>c.Marked("EulaAcceptbutton") I'll receive an exception. Tree command clearly shows the "EulaAcceptButton" ID. app.Flash("EulaAcceptButton") will flash the button. and app.Query can locate the item fine.

    [Xamarin_Forms_Platform_iOS_Platform_DefaultRenderer]
    [Xamarin_Forms_Platform_iOS_LabelRenderer]
    [UILabel] label: "xxxxxxxxxx", text: "xxxxxxxxxx"
    [Xamarin_Forms_Platform_iOS_LabelRenderer]
    [UILabel] id: "EulaTitleText", label: "End User App Agreement", text: "End User App Agreement"
    [Xamarin_Forms_Platform_iOS_FrameRenderer > ... > dom]
    [dom]
    [dom > dom]
    [dom]
    [dom > dom]
    [dom]
    [dom > dom]
    [dom]
    [dom > dom]
    [Xamarin_Forms_Platform_iOS_ButtonRenderer]
    [UIButton] id: "EulaAcceptButton", label: "I Accept"
    [UIButtonLabel] label: "I Accept", text: "I Accept"

Sign In or Register to comment.