Hi everyone,
After we have done some backend configurations to show the 'Location' tab on agentry iOS client, once tapped on the 'Location' tab, the app crashed.
It suppose to show the Map view like below if tap on Location(Please ignore comments and red arrow in below screenshot)
But it crashed every try, and we have the crash log as here.
Mar 17 18:07:15 iPad SMPAgentrySample[323] <Warning>: Error using client ID EDN991739005: ClientID is invalid
Mar 17 18:07:15 iPad SMPAgentrySample[323] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </private/var/mobile/Containers/Bundle/Application/2BDCB1E4-A9F2-476C-944F-C24B9FD9DA01/SMPAgentrySample.app> (loaded)' with name 'EsriMapViewController_iPad''
*** First throw call stack:
(0x2330fe3f 0x30d07c8b 0x2330fd85 0x26b68509 0x26a89233 0x268c91ed 0x267ad3d9 0x267ad35d 0xeb2e63 0xe9f579 0x3e79fd 0x267ad3d9 0x267ad35d 0x3d4257 0x359a45 0x35a03b 0x218b03 0x21ca2d 0x36a589 0x267ad3d9 0x267ad35d 0x3d829f 0x267de1fb 0x267de1a1 0x267c8e2b 0x268e6191 0x2699c2fb 0x267dd8e7 0x267d71b1 0x267ada3d 0x3f8e8d 0x2160741 0x26a21149 0x267ac491 0x232d658f 0x232d599f 0x232d4005 0x23222621 0x23222433 0x2a5670a9 0x2680c809 0xce897 0x31287aaf)
Mar 17 18:07:15 iPad ReportCrash[332] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Mar 17 18:07:15 iPad ReportCrash[332] <Notice>: ReportCrash acting against PID 323
Mar 17 18:07:15 iPad ReportCrash[332] <Notice>: Formulating crash report for process SMPAgentrySample[323]
Mar 17 18:07:15 iPad com.apple.xpc.launchd[1] (UIKitApplication:com.pge.smpeam[0xfe2][323]) <Notice>: Service exited due to signal: Abort trap: 6
Mar 17 18:07:15 iPad ReportCrash[332] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/SMPAgentrySample_2015-03-17-180715_iPad.ips
Mar 17 18:07:15 iPad SpringBoard[47] <Warning>: Application 'UIKitApplication:com.pge.smpeam[0xfe2]' crashed.
Mar 17 18:07:15 iPad assertiond[57] <Warning>: pid_suspend failed for <BKNewProcess: 0x13cd28c20; com.pge.smpeam; pid: 323>: Unknown error: -1, Unknown error: -1
Mar 17 18:07:15 iPad assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x13cd28c20; com.pge.smpeam; pid: 323> to 2, priority: No such process
Mar 17 18:07:15 iPad assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x13cd28c20; com.pge.smpeam; pid: 323> to 4096, priority: No such process
Mar 17 18:07:15 iPad UserEventAgent[17] <Warning>: id=com.pge.smpeam pid=323, state=0
Mar 17 18:07:20 iPad locationd[54] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
According to above crash report, the nib file EsriMapViewController_iPad missed in the code base, we have followed the guidance to integrate ArcGIS framework.
Can anyone give some thoughts on this? Thanks