Hi all,
I’m trying to implement iCloud plugin in my application and every time I call a function that needs listener (i.e. recordAccountStatus, recordFetch) , the app crashes. I get the following log:
Jun 15 11:03:36 Dans-iPad kernel[0] \<Notice\>: xpcproxy[357] Container: /private/var/mobile/Containers/Data/Application/2A28DFE2-FF04-4864-9491-01AC5B380696 (sandbox) Jun 15 11:03:36 Dans-iPad com.apple.xpc.launchd[1] \<Error\>: assertion failed: 13F69: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940F]: 0x3 Jun 15 11:03:36 Dans-iPad dig-a-way[357] \<Warning\>: -[FlurryWatchConnectivity init]: WatchConnectivity isn't linked, Flurry Analytics will be disabled for any paired watch Jun 15 11:03:37 Dans-iPad dig-a-way[357] \<Warning\>: You've implemented -[\<UIApplicationDelegate\> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. Jun 15 11:03:37 Dans-iPad dig-a-way[357] \<Warning\>: Platform: iPad / iPad2,1 / 9.3.2 / PowerVR SGX 543 / OpenGL ES 2.0 IMGSGX543-124.1 / 2016.2899 / en-CA | CA | en\_CA | en Jun 15 11:03:40 Dans-iPad kernel[0] \<Notice\>: AppleHDQGasGauge:stats num\_clients=1,num\_entries=70062,dl\_skip=0,dl\_cali=2,dl\_over=0,dl\_drain=3 ops=380886,collated=0,bfailures=0,collate\_error=0,ioerr=0,timeouts=0 retry16=3410,chf16=0 Jun 15 11:03:40 Dans-iPad kernel[0] \<Notice\>: AppleHDQGasGauge:clientLog ld=0/ Jun 15 11:03:40 Dans-iPad kernel[0] \<Notice\>: AppleHDQGasGauge:clientLog 24639/S0 24663/C0 24671/S1 30802/S2 54796/S3 54796/e3 162055/T2 162055/C2 163224/S4 Jun 15 11:03:47 Dans-iPad backboardd[142] \<Warning\>: CoreAnimation: timed out fence 2b90b Jun 15 11:03:48 Dans-iPad SpringBoard[141] \<Warning\>: BSXPCMessage received error for message: Connection invalid Jun 15 11:03:48 Dans-iPad SpringBoard[141] \<Warning\>: BSXPCMessage received error for message: Connection invalid Jun 15 11:03:48 Dans-iPad SpringBoard[141] \<Warning\>: UNNotificationRegistrarConnectionListener connection invalidated Jun 15 11:03:48 Dans-iPad SpringBoard[141] \<Warning\>: UNNotificationSchedulerConnectionListener connection invalidated Jun 15 11:03:48 Dans-iPad mediaserverd[42] \<Notice\>: '' com.digiten.games.digaway(pid = 357) setting DiscoveryMode = DiscoveryMode\_None, currentDiscoveryMode = DiscoveryMode\_None Jun 15 11:03:48 Dans-iPad mediaserverd[42] \<Notice\>: '' (pid = 357) setting DiscoveryMode = DiscoveryMode\_None, currentDiscoveryMode = DiscoveryMode\_None Jun 15 11:03:48 Dans-iPad com.apple.xpc.launchd[1] (UIKitApplication:com.digiten.games.digaway[0x3806][357]) \<Notice\>: Service exited due to signal: Abort trap: 6 Jun 15 11:03:48 Dans-iPad SpringBoard[141] \<Warning\>: Application 'UIKitApplication:com.digiten.games.digaway[0x3806]' crashed. Jun 15 11:03:49 Dans-iPad UserEventAgent[23] \<Warning\>: 1690552707359: id=com.digiten.games.digaway pid=357, state=0 Jun 15 11:03:49 Dans-iPad UserEventAgent[23] \<Error\>: Could not get event name for stream/token: com.apple.backgroundtaskagent/400: 132: Request for stale data Jun 15 11:03:49 Dans-iPad ReportCrash[359] \<Error\>: assertion failed: 13F69: libsystem\_trace.dylib + 15927 [FCFC8D6B-F8E1-3577-84A7-8A591C88D819]: 0x0 Jun 15 11:03:49 Dans-iPad Unknown[359] \<Error\>: Jun 15 11:03:49 Dans-iPad ReportCrash[359] \<Warning\>: os\_activity\_diagnostic\_for\_pid() failed! Jun 15 11:03:49 Dans-iPad ReportCrash[359] \<Notice\>: Formulating report for corpse[357] dig-a-way Jun 15 11:03:49 Dans-iPad ReportCrash[359] \<Warning\>: Saved type '109(109\_dig-a-way)' report (17 of max 25) at /var/mobile/Library/Logs/CrashReporter/dig-a-way-2016-06-15-110349.ips Jun 15 11:03:51 Dans-iPad SpringBoard[141] \<Warning\>: ADDING REMOTE com.digiten.games.digaway, \<BBRemoteDataProvider 0x1d0a5960; com.digiten.games.digaway\> Jun 15 11:03:51 Dans-iPad SpringBoard[141] \<Warning\>: dataProviderDidLoad: com.digiten.games.digaway Jun 15 11:03:59 Dans-iPad SpringBoard[141] \<Error\>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName] Jun 15 11:03:59 Dans-iPad SpringBoard[141] \<Error\>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName] Jun 15 11:04:00 Dans-iPad kernel[0] \<Notice\>: xpcproxy[360] Container: /private/var/mobile/Containers/Data/Application/2A28DFE2-FF04-4864-9491-01AC5B380696 (sandbox) Jun 15 11:04:00 Dans-iPad com.apple.xpc.launchd[1] \<Error\>: assertion failed: 13F69: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940F]: 0x3
I’ve tried already to add UIBackgroundModes = {“remote-notification”} in the plist inside build.settings to stop the warning about remote-notification, it did work, but the app keeps crashing.
Now, I get this log:
Jun 15 15:46:52 Dans-iPad SpringBoard[46] \<Error\>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName] Jun 15 15:46:52 Dans-iPad SpringBoard[46] \<Error\>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName] Jun 15 15:46:52 Dans-iPad kernel[0] \<Notice\>: xpcproxy[198] Container: /private/var/mobile/Containers/Data/Application/972B00D5-6936-485D-92D4-65237FA40AB1 (sandbox) Jun 15 15:46:52 Dans-iPad com.apple.xpc.launchd[1] \<Error\>: assertion failed: 13F69: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940F]: 0x3 Jun 15 15:46:52 Dans-iPad dig-a-way[198] \<Warning\>: -[FlurryWatchConnectivity init]: WatchConnectivity isn't linked, Flurry Analytics will be disabled for any paired watch Jun 15 15:46:53 Dans-iPad dig-a-way[198] \<Warning\>: Platform: iPad / iPad2,1 / 9.3.2 / PowerVR SGX 543 / OpenGL ES 2.0 IMGSGX543-124.1 / 2016.2899 / en-CA | CA | en\_CA | en Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: initialize flurry Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: Flurry: startSession called for the first time Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: Flurry: Start session called with apiKey[824JFQZ52QHT9PDMWVN7] Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: Flurry: Starting session on Agent Version [Flurry\_iOS\_175\_7.5.2] Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: Flurry: crash reporting enabled Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: Flurry: Trim white space and use apiKey[824JFQZ52QHT9PDMWVN7] Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: initing flurry scene test Jun 15 15:46:56 Dans-iPad dig-a-way[198] \<Warning\>: joao main iCloud call Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: BSXPCMessage received error for message: Connection interrupted Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: BSXPCMessage received error for message: Connection invalid Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: HW kbd: Failed to set (null) as keyboard focus Jun 15 15:46:59 Dans-iPad com.apple.xpc.launchd[1] (UIKitApplication:com.digiten.games.digaway[0xfe15][198]) \<Notice\>: Service exited due to signal: Abort trap: 6 Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: UNNotificationRegistrarConnectionListener connection invalidated Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: UNNotificationSchedulerConnectionListener connection invalidated Jun 15 15:46:59 Dans-iPad mediaserverd[42] \<Notice\>: '' com.digiten.games.digaway(pid = 198) setting DiscoveryMode = DiscoveryMode\_None, currentDiscoveryMode = DiscoveryMode\_None Jun 15 15:46:59 Dans-iPad mediaserverd[42] \<Notice\>: '' (pid = 198) setting DiscoveryMode = DiscoveryMode\_None, currentDiscoveryMode = DiscoveryMode\_None Jun 15 15:46:59 Dans-iPad SpringBoard[46] \<Warning\>: Application 'UIKitApplication:com.digiten.games.digaway[0xfe15]' crashed. Jun 15 15:46:59 Dans-iPad UserEventAgent[23] \<Warning\>: 231158190394: id=com.digiten.games.digaway pid=198, state=0 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: assertion failed: 13F69: libsystem\_trace.dylib + 15927 [FCFC8D6B-F8E1-3577-84A7-8A591C88D819]: 0x0 Jun 15 15:46:59 Dans-iPad Unknown[200] \<Error\>: Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Warning\>: os\_activity\_diagnostic\_for\_pid() failed! Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Notice\>: Formulating report for corpse[198] dig-a-way Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Warning\>: Report of type '109(109\_dig-a-way)' not saved because the limit of 25 logs has been reached Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk. Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck! Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Process: dig-a-way [198] Path: /private/var/containers/Bundle/Application/AE632857-BFFB-4EB9-B75A-A2DF4F02B1AD/dig-a-way.app/dig-a-way OS Version: iOS 9.3.2 (13F69) Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Exception Type: EXC\_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC\_CORPSE\_NOTIFY Triggered by Thread: 0 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem\_kernel.dylib 0x211aac5c 0x21196000 + 85084 1 libsystem\_pthread.dylib 0x21254732 0x21250000 + 18226 2 libsystem\_c.dylib 0x2113f0ac 0x210f4000 + 307372 3 dig-a-way 0x002b3e1c 0xd0000 + 1981980 4 CoreFoundation 0x2151fc56 0x21426000 + 1023062 5 libobjc.A.dylib 0x20cbb09e 0x20cb4000 + 28830 6 libc++abi.dylib 0x20cace16 0x20c96000 + 93718 7 libc++abi.dylib 0x20cac5f4 0x20c96000 + 91636 8 libobjc.A.dylib 0x20cbaeea 0x20cb4000 + 28394 9 CloudKit 0x28e0846c 0x28dff000 + 37996 10 CloudKit 0x28e06e30 0x28dff000 + 32304 11 CloudKit 0x28e07630 0x28dff000 + 34352 12 CloudKit 0x28e06dd2 0x28dff000 + 32210 13 libdispatch.dylib 0x2108d80e 0x2108b000 + 10254 14 libdispatch.dylib 0x2109f172 0x2108b000 + 82290 15 CloudKit 0x28e06d9e 0x28dff000 + 32158 16 dig-a-way 0x002ca304 0xd0000 + 2073348 17 dig-a-way 0x002c7850 0xd0000 + 2062416 18 dig-a-way 0x00147f44 0xd0000 + 491332 19 dig-a-way 0x00155364 0xd0000 + 545636 20 dig-a-way 0x0014829c 0xd0000 + 492188 21 dig-a-way 0x00155df2 0xd0000 + 548338 22 dig-a-way 0x001484cc 0xd0000 + 492748 23 dig-a-way 0x00141d36 0xd0000 + 466230 24 dig-a-way 0x0016c71a 0xd0000 + 640794 25 dig-a-way 0x00183efa 0xd0000 + 737018 26 dig-a-way 0x00185884 0xd0000 + 743556 27 dig-a-way 0x0018544e 0xd0000 + 742478 28 dig-a-way 0x000e68d0 0xd0000 + 92368 29 dig-a-way 0x000e479a 0xd0000 + 83866 30 dig-a-way 0x000e49d2 0xd0000 + 84434 31 dig-a-way 0x000e4f4c 0xd0000 + 85836 32 dig-a-way 0x002bfd74 0xd0000 + 2030964 33 UIKit 0x25b0d784 0x25a85000 + 558980 34 UIKit 0x25d352d0 0x25a85000 + 2818768 35 UIKit 0x25d39284 0x25a85000 + 2835076 36 UIKit 0x25d4d83c 0x25a85000 + 2918460 37 UIKit 0x25d367b2 0x25a85000 + 2824114 38 FrontBoardServices 0x22bc2c06 0x22b9e000 + 150534 39 FrontBoardServices 0x22bc2ab8 0x22b9e000 + 150200 40 FrontBoardServices 0x22bc2db8 0x22b9e000 + 150968 41 CoreFoundation 0x214e1dfe 0x21426000 + 769534 42 CoreFoundation 0x214e19ec 0x21426000 + 768492 43 CoreFoundation 0x214dfd5a 0x21426000 + 761178 44 CoreFoundation 0x2142f228 0x21426000 + 37416 45 CoreFoundation 0x2142f014 0x21426000 + 36884 46 UIKit 0x25b06c3c 0x25a85000 + 531516 47 UIKit 0x25b01188 0x25a85000 + 508296 48 dig-a-way 0x000d7642 0xd0000 + 30274 49 libdyld.dylib 0x210d7872 0x210d5000 + 10354 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 1 name: Dispatch queue: com.apple.NSXPCConnection.m-user.com.apple.usernotification.notificationregistrar Thread 1: 0 libobjc.A.dylib 0x20cc19de 0x20cb4000 + 55774 1 libobjc.A.dylib 0x20cc1872 0x20cb4000 + 55410 2 libobjc.A.dylib 0x20cc7cfa 0x20cb4000 + 81146 3 Foundation 0x21c8288a 0x21c6d000 + 88202 4 Foundation 0x21e1f6a6 0x21c6d000 + 1779366 5 Foundation 0x21c81e9e 0x21c6d000 + 85662 6 Foundation 0x21c83f82 0x21c6d000 + 94082 7 Foundation 0x21c83dd6 0x21c6d000 + 93654 8 Foundation 0x21c83516 0x21c6d000 + 91414 9 Foundation 0x21c82d1c 0x21c6d000 + 89372 10 Foundation 0x21e1f82c 0x21c6d000 + 1779756 11 Foundation 0x21c81e9e 0x21c6d000 + 85662 12 Foundation 0x21c81df0 0x21c6d000 + 85488 13 Foundation 0x21e1b1ac 0x21c6d000 + 1761708 14 Foundation 0x21e1d2bc 0x21c6d000 + 1770172 15 libxpc.dylib 0x2127014e 0x2126c000 + 16718 16 libxpc.dylib 0x212700fe 0x2126c000 + 16638 17 libdispatch.dylib 0x2109a422 0x2108b000 + 62498 18 libdispatch.dylib 0x21099a60 0x2108b000 + 60000 19 libdispatch.dylib 0x2109c5e8 0x2108b000 + 71144 20 libdispatch.dylib 0x2109bfcc 0x2108b000 + 69580 21 libsystem\_pthread.dylib 0x21251b28 0x21250000 + 6952 22 libsystem\_pthread.dylib 0x21251718 0x21250000 + 5912 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 2 name: Dispatch queue: com.apple.libdispatch-manager Thread 2: 0 libsystem\_kernel.dylib 0x211ac2f8 0x21196000 + 90872 1 libdispatch.dylib 0x210a1d60 0x2108b000 + 93536 2 libdispatch.dylib 0x210a1abe 0x2108b000 + 92862 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 3: 0 libsystem\_kernel.dylib 0x211ab864 0x21196000 + 88164 1 libsystem\_pthread.dylib 0x21251b34 0x21250000 + 6964 2 libsystem\_pthread.dylib 0x21251718 0x21250000 + 5912 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 4: 0 libsystem\_pthread.dylib 0x21251710 0x21250000 + 5904 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 5: 0 libsystem\_kernel.dylib 0x211ab864 0x21196000 + 88164 1 libsystem\_pthread.dylib 0x21251b34 0x21250000 + 6964 2 libsystem\_pthread.dylib 0x21251718 0x21250000 + 5912 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 6: 0 libsystem\_pthread.dylib 0x21251710 0x21250000 + 5904 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 7 name: com.apple.NSURLConnectionLoader Thread 7: 0 libsystem\_kernel.dylib 0x211968d0 0x21196000 + 2256 1 libsystem\_kernel.dylib 0x211966d4 0x21196000 + 1748 2 CoreFoundation 0x214e1ac4 0x21426000 + 768708 3 CoreFoundation 0x214dfe4c 0x21426000 + 761420 4 CoreFoundation 0x2142f228 0x21426000 + 37416 5 CoreFoundation 0x2142f014 0x21426000 + 36884 6 CFNetwork 0x21a80a5e 0x219f9000 + 555614 7 Foundation 0x21d494a4 0x21c6d000 + 902308 8 libsystem\_pthread.dylib 0x2125385a 0x21250000 + 14426 9 libsystem\_pthread.dylib 0x212537ce 0x21250000 + 14286 10 libsystem\_pthread.dylib 0x21251724 0x21250000 + 5924 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 8 name: AURemoteIO::IOThread Thread 8: 0 libsystem\_kernel.dylib 0x211968d0 0x21196000 + 2256 1 libsystem\_kernel.dylib 0x211966d4 0x21196000 + 1748 2 AudioToolbox 0x2396b1d8 0x23845000 + 1204696 3 AudioToolbox 0x2396ea88 0x23845000 + 1219208 4 AudioToolbox 0x238875ae 0x23845000 + 271790 5 libsystem\_pthread.dylib 0x2125385a 0x21250000 + 14426 6 libsystem\_pthread.dylib 0x212537ce 0x21250000 + 14286 7 libsystem\_pthread.dylib 0x21251724 0x21250000 + 5924 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 9: 0 libsystem\_kernel.dylib 0x211aaffc 0x21196000 + 86012 1 libsystem\_c.dylib 0x210feeec 0x210f4000 + 44780 2 libsystem\_c.dylib 0x210fee3a 0x210f4000 + 44602 3 dig-a-way 0x0010fdb0 0xd0000 + 261552 4 dig-a-way 0x00116dba 0xd0000 + 290234 5 libsystem\_pthread.dylib 0x2125385a 0x21250000 + 14426 6 libsystem\_pthread.dylib 0x212537ce 0x21250000 + 14286 7 libsystem\_pthread.dylib 0x21251724 0x21250000 + 5924 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00000000 r4: 0x00000006 r5: 0x38420000 r6: 0x38427170 r7: 0x005a584c r8: 0x03b2d5d0 r9: 0x38420908 r10: 0x14ae5c00 r11: 0x1452a930 ip: 0x00000148 sp: 0x005a5840 lr: 0x21254733 pc: 0x211aac5c cpsr: 0x00000010 Jun 15 15:46:59 Dans-iPad ReportCrash[200] \<Error\>: Error Formulating Crash Report: Failed while requesting activity/breadcrumb diagnostics
I’m using Build: 2016.2899
iOS 9.3.2
XCode 7.3
Can anybody help me?
Thanks!