Firebase Messaging Unity SDK 4.0.0 iOS Crash on Startup

388 views
Skip to first unread message

Dylan Sproule

unread,
Jun 15, 2017, 10:32:07 AM6/15/17
to Firebase Google Group
Hello, I am currently seeing a crash after upgrading to the latest 4.0.0 Unity SDK on IOS.  After the first run, the crash no longer happens but is reproducible when installing the application for the first time.

Thanks.

2017-06-15 15:19:49.786004+0700 dice[2455:608676] FCM: Initialize Firebase Messaging

FCM: Initialize Firebase Messaging

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


2017-06-15 15:19:49.786338+0700 dice[2455:608676] FCM: Using FCM senderID XXXXXXXXX

FCM: Using FCM senderID XXXXXXXXX

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


2017-06-15 15:19:49.786738+0700 dice[2455:608676] FCM: Retrieve registration token

FCM: Retrieve registration token


(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


2017-06-15 15:19:50.255730+0700 dice[2455:608808] [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.

2017-06-15 15:19:50.255 dice[2455] <Warning> [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.

2017-06-15 15:19:50.256494+0700 dice[2455:608807] [Firebase/Analytics][I-ACS023012] Firebase Analytics enabled

2017-06-15 15:19:50.256 dice[2455] <Notice> [Firebase/Analytics][I-ACS023012] Firebase Analytics enabled

2017-06-15 15:19:52.450462+0700 dice[2455:608676] FCM: Connected to FCM

FCM: Connected to FCM

 

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


2017-06-15 15:20:00.350690+0700 dice[2455:608676] -[UIApplication messaging:didRefreshRegistrationToken:]: unrecognized selector sent to instance 0x13fe06af0

2017-06-15 15:20:00.443240+0700 dice[2455:608676] Uncaught exception: NSInvalidArgumentException: -[UIApplication messaging:didRefreshRegistrationToken:]: unrecognized selector sent to instance 0x13fe06af0

(

0   CoreFoundation                      0x0000000190aa6ff8 <redacted> + 148

1   libobjc.A.dylib                     0x000000018f508538 objc_exception_throw + 56

2   CoreFoundation                      0x0000000190aadef4 <redacted> + 0

3   CoreFoundation                      0x0000000190aaaf54 <redacted> + 916

4   CoreFoundation                      0x00000001909a6d4c _CF_forwarding_prep_0 + 92

5   dice                                0x000000010085945c -[FIRMessaging defaultInstanceIDTokenWasRefreshed:] + 176

6   CoreFoundation                      0x0000000190a415f4 <redacted> + 20

7   CoreFoundation                      0x0000000190a40d08 <redacted> + 400

8   CoreFoundation                      0x0000000190a40a84 <redacted> + 60

9   CoreFoundation                      0x0000000190aaf7a8 <redacted> + 1412

10  CoreFoundation                      0x000000019098495c _CFXNotificationPost + 376

11  Foundation                          0x00000001914ef3f0 <redacted> + 676

12  CoreFoundation                      0x0000000190a549a8 <redacted> + 32

13  CoreFoundation                      0x0000000190a52630 <redacted> + 372

14  CoreFoundation                      0x0000000190982dc4 CFRunLoopRunSpecific + 456

15  dice                                0x0000000100094dcc -[UnityAppController(Rendering) processTouchEvents] + 340

16  dice                                0x0000000100094e74 -[UnityAppController(Rendering) repaintDisplayLink] + 104

17  GPUToolsCore                        0x00000001052944fc -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 176

18  QuartzCore                          0x0000000193cb85dc <redacted> + 44

19  QuartzCore                          0x0000000193cb848c <redacted> + 436

20  IOKit                               0x0000000190d13b9c IODispatchCalloutFromCFMessage + 372

21  CoreFoundation                      0x0000000190a3d960 <redacted> + 180

22  CoreFoundation                      0x0000000190a55ae4 <redacted> + 56

23  CoreFoundation                      0x0000000190a55284 <redacted> + 436

24  CoreFoundation                      0x0000000190a52d98 <redacted> + 1752

25  CoreFoundation                      0x0000000190982da4 CFRunLoopRunSpecific + 424

26  GraphicsServices                    0x00000001923ec074 GSEventRunModal + 100

27  UIKit                               0x0000000196c3d058 UIApplicationMain + 208

28  dice                                0x000000010008ec7c main + 172

29  libdyld.dylib                       0x000000018f99159c <redacted> + 4

)

2017-06-15 15:20:00.444835+0700 dice[2455:608676] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIApplication messaging:didRefreshRegistrationToken:]: unrecognized selector sent to instance 0x13fe06af0'

*** First throw call stack:

(0x190aa6fe0 0x18f508538 0x190aadef4 0x190aaaf54 0x1909a6d4c 0x10085945c 0x190a415f4 0x190a40d08 0x190a40a84 0x190aaf7a8 0x19098495c 0x1914ef3f0 0x190a549a8 0x190a52630 0x190982dc4 0x100094dcc 0x100094e74 0x1052944fc 0x193cb85dc 0x193cb848c 0x190d13b9c 0x190a3d960 0x190a55ae4 0x190a55284 0x190a52d98 0x190982da4 0x1923ec074 0x196c3d058 0x10008ec7c 0x18f99159c)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb) 

Stewart Miles

unread,
Jun 15, 2017, 11:06:42 AM6/15/17
to Firebase Google Group
Thanks for the report, we're tracking this issue here https://github.com/firebase/quickstart-unity/issues/87#issuecomment-308387681

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/aee42c1d-5efb-4254-9c5f-d8a0dd82c980%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dy...@superhappyfuntime.com

unread,
Jun 15, 2017, 12:49:00 PM6/15/17
to Firebase Google Group
No problem, thanks for looking into it!
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

Stewart Miles

unread,
Jun 16, 2017, 10:04:40 PM6/16/17
to Firebase Google Group
We pushed a 4.0.1 bug fix release that should resolve this issue.

Cheers,
Stewart
Reply all
Reply to author
Forward
0 new messages