Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

iOS 15 crash since 2nd sessions, Xcode 13

Discussion in 'iOS and tvOS' started by lyha, Oct 5, 2021.

  1. lyha

    lyha

    Joined:
    Feb 28, 2016
    Posts:
    15
    Unity 2020.3.9
    Xcode 13.0
    Firebase 8.2

    We've been releasing with Unity 2020.3.9 for a several months, no problems. This release we've updated Xcode to version 13 and Firebase to 8.2.
    And today received a report from some of our testers with black screen and closing app.

    I have no iOS15 device near me to debug, but looks like received logs via Xcode. I have no luck with reproducing it on simulator.
    So looking for any advice of how to understand it and where to search.

    What I see from the project is that there is running logic in GULAppEnvironmentUtil.
    isAppStoreReceiptSandbox(). I assume it's part of the Firebase. After that the core logic is called:
    NSURL *appStoreReceiptURL = [NSBundle mainBundle].appStoreReceiptURL;

    And looks like something happened after that.

    As for the reproducibility. We have a few test devices, with TF, sandboxes and iOS 15.0.1 - all are crashing during second and next sessions (not the first one).
    And one personal device, without testing staff - it's working correctly with this release.

    UPD:
    Testers checked build with Xcode 12.5 with same features - it's working correctly on iOS 15.

    Code (Boo):
    1. Incident Identifier: 0BE23EAE-BD2D-4487-9902-E86BF6197742
    2. Hardware Model:      iPhone13,3
    3. Process:             My_app [441]
    4. Path:                /private/var/containers/Bundle/Application/90A535F8-D72B-4DDE-92CD-E21BB5A700BA/My_app.app/My_app
    5. Identifier:          com.My_app
    6. Version:             1.65 (14)
    7. AppStoreTools:       13A227
    8. AppVariant:          1:iPhone13,3:15
    9. Beta:                YES
    10. Code Type:           ARM-64 (Native)
    11. Role:                Foreground
    12. Parent Process:      launchd [1]
    13. Coalition:           com.My_app [559]
    14.  
    15. Date/Time:           2021-10-05 13:17:32.0047 +0300
    16. Launch Time:         2021-10-05 13:17:11.1527 +0300
    17. OS Version:          iPhone OS 15.0.1 (19A348)
    18. Release Type:        User
    19. Baseband Version:    2.09.10
    20. Report Version:      104
    21.  
    22. Exception Type:  EXC_CRASH (SIGKILL)
    23. Exception Codes: 0x0000000000000000, 0x0000000000000000
    24. Exception Note:  EXC_CORPSE_NOTIFY
    25. Triggered by Thread:  0
    26.  
    27.  
    28. Thread 0 name:
    29. Thread 0 Crashed:
    30. 0   libsystem_kernel.dylib            0x00000001b9a5b204 __ulock_wait + 8
    31. 1   libdispatch.dylib                 0x0000000182c83344 _dlock_wait + 56 (lock.c:326)
    32. 2   libdispatch.dylib                 0x0000000182c83274 _dispatch_once_wait + 120 (lock.c:382)
    33. 3   Foundation                        0x00000001848c08f0 -[NSCoder _walkAllowedClassListLookingForClass:forKey:allowedClasses:strictModeEnabled:alwaysEnforceExplicitSubclasses:] + 1068 (once.h:84)
    34. 4   Foundation                        0x00000001847dfabc -[NSXPCDecoder _validateAllowedClass:forKey:allowingInvocations:] + 188 (NSXPCCoder.m:744)
    35. 5   Foundation                        0x00000001849f1f28 _decodeObject + 1364 (NSXPCCoder.m:1018)
    36. 6   Foundation                        0x00000001847ca6b4 -[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 148 (NSXPCCoder.m:1103)
    37. 7   Foundation                        0x00000001847cee5c _NSXPCSerializationDecodeTypedObjCValuesFromArray + 936 (NSXPCCoder_InvocationSerialization.m:396)
    38. 8   Foundation                        0x00000001848060cc _NSXPCSerializationDecodeInvocationArgumentArray + 500 (NSXPCCoder_InvocationSerialization.m:523)
    39. 9   Foundation                        0x00000001847bf514 -[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:interface:] + 788 (NSXPCCoder.m:1236)
    40. 10  Foundation                        0x0000000184876b40 -[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:interface:] + 84 (NSXPCCoder.m:1130)
    41. 11  Foundation                        0x00000001847f76ac -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 176 (NSXPCConnection.m:259)
    42. 12  Foundation                        0x00000001847d24b4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 212 (NSXPCConnection.m:1630)
    43. 13  Foundation                        0x00000001847e6a60 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2632 (NSXPCConnection.m:1651)
    44. 14  Foundation                        0x00000001847f9db4 -[NSXPCConnection _sendSelector:withProxy:arg1:] + 132 (NSXPCConnection.m:1280)
    45. 15  Foundation                        0x00000001847cbe5c _NSXPCDistantObjectSimpleMessageSend1 + 68 (NSXPCDistantObject.m:262)
    46. 16  CoreServices                      0x00000001833dd388 +[LSBundleProxy bundleProxyForCurrentProcess] + 440 (LSBundleProxy.m:331)
    47. 17  Foundation                        0x00000001848b4294 -[NSBundle appStoreReceiptURL] + 108 (NSBundle.m:986)
    48. 18  UnityFramework                    0x0000000109ea6fec +[GULAppEnvironmentUtil isAppStoreReceiptSandbox] + 196 (GULAppEnvironmentUtil.m:192)
    49. 19  UnityFramework                    0x0000000109ea6cf4 +[GULAppEnvironmentUtil isFromAppStore] + 5713140 (GULAppEnvironmentUtil.m:165)
    50. 20  UnityFramework                    0x0000000109ea9614 GULSetLoggerLevel + 5723668 (GULLogger.m:102)
    51. 21  UnityFramework                    0x000000010ae9261c firebase::LogSetPlatformLevel+ 22406684 (firebase::LogLevel) + 72
    52. 22  UnityFramework                    0x000000010ae92598 firebase::LogInitialize() + 164
    53. 23  UnityFramework                    0x000000010ae91e30 firebase::LogMessageWithCallbackV(firebase::LogLevel, char const*, char*) + 80
    54. 24  UnityFramework                    0x000000010ae91f48 firebase::LogInfo(char const*, ...) + 36
    55. 25  UnityFramework                    0x000000010ae57490 +[UIApplication(FIRFCM) load] + 20
    56. 26  libobjc.A.dylib                   0x000000019b5247d0 load_images + 1356 (objc-loadmethod.mm:251)
    57. 27  dyld                              0x00000001003c9ee4 dyld4::RuntimeState::notifyObjCInit(dyld4::Loader const*) + 164 (DyldRuntimeState.cpp:1558)
    58. 28  dyld                              0x00000001003ce3b8 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 196 (Loader.cpp:1301)
    59. 29  dyld                              0x00000001003d4570 dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124 (Loader.cpp:1314)
    60. 30  dyld                              0x00000001003cdb54 dyld4::APIs::dlopen_from(char const*, int, void*) + 512 (DyldAPIs.cpp:1435)
    61. 31  CoreFoundation                    0x00000001830b209c _CFBundleDlfcnLoadFramework + 140 (CFBundle_Binary.c:610)
    62. 32  CoreFoundation                    0x000000018303f058 _CFBundleLoadExecutableAndReturnError + 412 (CFBundle.c:1445)
    63. 33  Foundation                        0x0000000184820978 -[NSBundle loadAndReturnError:] + 428 (NSBundle.m:588)
    64. 34  My_app                           0x0000000100387d54 UnityFrameworkLoad() + 188 (main.mm:10)
    65. 35  My_app                           0x0000000100387dfc main + 36 (main.mm:25)
    66. 36  dyld                              0x00000001003dda24 start + 520 (dyldMain.cpp:876)
    67.  
    68. Thread 1 name:
    69. Thread 1:
    70. 0   libsystem_kernel.dylib            0x00000001b9a5b204 __ulock_wait + 8
    71. 1   libsystem_platform.dylib          0x00000001f34449a4 _os_unfair_lock_lock_slow + 196 (lock.c:578)
    72. 2   dyld                              0x00000001003cda40 dyld4::APIs::dlopen_from(char const*, int, void*) + 236 (DyldAPIs.cpp:96)
    73. 3   Foundation                        0x00000001848c0354 ___NSCoderEnforceFirstPartySecurityRules_block_invoke + 56 (NSCoder.m:607)
    74. 4   libdispatch.dylib                 0x0000000182c82950 _dispatch_client_callout + 20 (object.m:560)
    75. 5   libdispatch.dylib                 0x0000000182c841d8 _dispatch_once_callout + 32 (once.c:52)
    76. 6   Foundation                        0x00000001848c08f0 -[NSCoder _walkAllowedClassListLookingForClass:forKey:allowedClasses:strictModeEnabled:alwaysEnforceExplicitSubclasses:] + 1068 (once.h:84)
    77. 7   Foundation                        0x00000001847dfabc -[NSXPCDecoder _validateAllowedClass:forKey:allowingInvocations:] + 188 (NSXPCCoder.m:744)
    78. 8   Foundation                        0x00000001849f1f28 _decodeObject + 1364 (NSXPCCoder.m:1018)
    79. 9   Foundation                        0x00000001847ca6b4 -[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 148 (NSXPCCoder.m:1103)
    80. 10  Foundation                        0x00000001847cee5c _NSXPCSerializationDecodeTypedObjCValuesFromArray + 936 (NSXPCCoder_InvocationSerialization.m:396)
    81. 11  Foundation                        0x00000001848060cc _NSXPCSerializationDecodeInvocationArgumentArray + 500 (NSXPCCoder_InvocationSerialization.m:523)
    82. 12  Foundation                        0x00000001847bf514 -[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:interface:] + 788 (NSXPCCoder.m:1236)
    83. 13  Foundation                        0x0000000184876b40 -[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:interface:] + 84 (NSXPCCoder.m:1130)
    84. 14  Foundation                        0x00000001847f76ac -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 176 (NSXPCConnection.m:259)
    85. 15  Foundation                        0x00000001847d24b4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 212 (NSXPCConnection.m:1630)
    86. 16  libxpc.dylib                      0x00000001f348332c _xpc_connection_reply_callout + 116 (serializer.c:119)
    87. 17  libxpc.dylib                      0x00000001f347685c _xpc_connection_call_reply_async + 88 (connection.c:833)
    88. 18  libdispatch.dylib                 0x0000000182c829d0 _dispatch_client_callout3 + 20 (object.m:586)
    89. 19  libdispatch.dylib                 0x0000000182c9ffd4 _dispatch_mach_msg_async_reply_invoke + 348 (mach.c:2464)
    90. 20  libdispatch.dylib                 0x0000000182c89f84 _dispatch_lane_serial_drain + 368 (inline_internal.h:0)
    91. 21  libdispatch.dylib                 0x0000000182c8ac44 _dispatch_lane_invoke + 444 (queue.c:3937)
    92. 22  libdispatch.dylib                 0x0000000182c95318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
    93. 23  libsystem_pthread.dylib           0x00000001f344d1b0 _pthread_wqthread + 288 (pthread.c:2495)
    94. 24  libsystem_pthread.dylib           0x00000001f344cf50 start_wqthread + 8
    95.  
    96. Thread 2 name:
    97. Thread 2:
    98. 0   libsystem_kernel.dylib            0x00000001b9a5b204 __ulock_wait + 8
    99. 1   libsystem_platform.dylib          0x00000001f34449a4 _os_unfair_lock_lock_slow + 196 (lock.c:578)
    100. 2   dyld                              0x00000001003cda40 dyld4::APIs::dlopen_from(char const*, int, void*) + 236 (DyldAPIs.cpp:96)
    101. 3   libnetwork.dylib                  0x0000000183d6addc __nw_get_boringssl_image_block_invoke + 64 (tls_context.c:26)
    102. 4   libdispatch.dylib                 0x0000000182c82950 _dispatch_client_callout + 20 (object.m:560)
    103. 5   libdispatch.dylib                 0x0000000182c841d8 _dispatch_once_callout + 32 (once.c:52)
    104. 6   libnetwork.dylib                  0x0000000183d3f3fc __nw_protocol_copy_boringssl_definition_block_invoke + 388 (once.h:84)
    105. 7   libdispatch.dylib                 0x0000000182c82950 _dispatch_client_callout + 20 (object.m:560)
    106. 8   libdispatch.dylib                 0x0000000182c841d8 _dispatch_once_callout + 32 (once.c:52)
    107. 9   libnetwork.dylib                  0x0000000183ceb4cc nw_parameters_copy_description_internal + 14148 (once.h:84)
    108. 10  libnetwork.dylib                  0x0000000183d21d10 -[NWConcrete_nw_parameters description] + 20 (parameters.m:2394)
    109. 11  Foundation                        0x00000001847bcabc _NS_os_log_callback + 228 (NSPlatform.m:175)
    110. 12  libsystem_trace.dylib             0x000000019d6165d0 _os_log_fmt_flatten_NSCF + 64 (format.m:54)
    111. 13  libsystem_trace.dylib             0x000000019d615cf0 _os_log_fmt_flatten_object + 216 (format.m:316)
    112. 14  libsystem_trace.dylib             0x000000019d613b14 _os_log_impl_flatten_and_send + 1920 (format.c:834)
    113. 15  libnetwork.dylib                  0x0000000183d1386c nw_path_evaluator_start + 3180 (path_evaluation.m:3322)
    114. 16  libnetwork.dylib                  0x0000000183d478bc nw_path_evaluator_set_update_handler + 220 (path_evaluation.m:3343)
    115. 17  SystemConfiguration               0x00000001835fac5c __SCNetworkReachabilitySetDispatchQueue + 1060 (SCNetworkReachability.c:1937)
    116. 18  SystemConfiguration               0x00000001835f7e7c SCNetworkReachabilitySetDispatchQueue + 132 (SCNetworkReachability.c:2033)
    117. 19  UnityFramework                    0x0000000109ea0e84 -[GDTCORReachability init] + 144 (GDTCORReachability.m:86)
    118. 20  UnityFramework                    0x0000000109ea0c90 __36+[GDTCORReachability sharedInstance]_block_invoke + 32 (GDTCORReachability.m:53)
    119. 21  libdispatch.dylib                 0x0000000182c82950 _dispatch_client_callout + 20 (object.m:560)
    120. 22  libdispatch.dylib                 0x0000000182c841d8 _dispatch_once_callout + 32 (once.c:52)
    121. 23  UnityFramework                    0x0000000109ea0c6c +[GDTCORReachability sharedInstance] + 5688428 (GDTCORReachability.m:52)
    122. 24  UnityFramework                    0x0000000109ea0c24 +[GDTCORReachability initialize] + 20 (GDTCORReachability.m:46)
    123. 25  libobjc.A.dylib                   0x000000019b528764 CALLING_SOME_+initialize_METHOD + 24 (objc-initialize.mm:384)
    124. 26  libobjc.A.dylib                   0x000000019b51e3ac initializeNonMetaClass + 784 (objc-initialize.mm:554)
    125. 27  libobjc.A.dylib                   0x000000019b5225a8 initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt<false>&, bool) + 156 (objc-runtime-new.mm:2178)
    126. 28  libobjc.A.dylib                   0x000000019b51b6a0 lookUpImpOrForward + 884 (objc-runtime-new.mm:2194)
    127. 29  libobjc.A.dylib                   0x000000019b516a84 _objc_msgSend_uncached + 68
    128. 30  UnityFramework                    0x0000000109ea3904 -[GDTCORUploadCoordinator uploadConditions] + 32 (GDTCORUploadCoordinator.m:143)
    129. 31  UnityFramework                    0x0000000109ea339c __37-[GDTCORUploadCoordinator startTimer]_block_invoke_2 + 128 (GDTCORUploadCoordinator.m:80)
    130. 32  libdispatch.dylib                 0x0000000182c82950 _dispatch_client_callout + 20 (object.m:560)
    131. 33  libdispatch.dylib                 0x0000000182c85e04 _dispatch_continuation_pop + 504 (inline_internal.h:2597)
    132. 34  libdispatch.dylib                 0x0000000182c98d60 _dispatch_source_invoke + 1356 (source.c:587)
    133. 35  libdispatch.dylib                 0x0000000182c89f84 _dispatch_lane_serial_drain + 368 (inline_internal.h:0)
    134. 36  libdispatch.dylib                 0x0000000182c8ac10 _dispatch_lane_invoke + 392 (queue.c:3937)
    135. 37  libdispatch.dylib                 0x0000000182c95318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
    136. 38  libsystem_pthread.dylib           0x00000001f344d1b0 _pthread_wqthread + 288 (pthread.c:2495)
    137. 39  libsystem_pthread.dylib           0x00000001f344cf50 start_wqthread + 8
    138.  
    139. Thread 3:
    140. 0   libsystem_pthread.dylib           0x00000001f344cf48 start_wqthread + 0
    141.  
    142.  
    143. Thread 0 crashed with ARM Thread State (64-bit):
    144.     x0: 0xfffffffffffffffc   x1: 0x0000000000000000   x2: 0x0000000000001609   x3: 0x0000000000000000
    145.     x4: 0x00000002837a0bc0   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000d30
    146.     x8: 0x000000000000170b   x9: 0x0000000000001608  x10: 0x0000000000000001  x11: 0x0000000000000000
    147.    x12: 0x00000000000000ba  x13: 0x00000000000000bb  x14: 0x3e78328c6fc2d844  x15: 0x0000000184a30f94
    148.    x16: 0x0000000000000203  x17: 0x00000001848c031c  x18: 0x0000000000000000  x19: 0x0000000000000000
    149.    x20: 0x00000001dcc55e10  x21: 0x0000000001000002  x22: 0x0000000000001609  x23: 0x0000000000000000
    150.    x24: 0x00000001cd502cc8  x25: 0x0000000000000000  x26: 0x00000001cd5d2dc8  x27: 0x00000001dc3d46a0
    151.    x28: 0x00000001dcc57188   fp: 0x000000016fa7c5e0   lr: 0x0000000182c83344
    152.     sp: 0x000000016fa7c5c0   pc: 0x00000001b9a5b204        cpsr: 0x0
    153.    esr: 0x56000080  Address size fault
    154.  
    155.  
    156. Binary Images:
    157. 0x100380000 - 0x100387fff My_app arm64  <8d098aee3b5635ac8ac58bdb9f8555c2> /private/var/containers/Bundle/Application/90A535F8-D72B-4DDE-92CD-E21BB5A700BA/My_app.app/My_app
    158. 0x1003c4000 - 0x10041bfff dyld arm64e  <d48c31ee061f370ba6f78391a1b53ed8> /usr/lib/dyld
    159. 0x109934000 - 0x10d163fff UnityFramework arm64  <a677204d54bf3f879bb96f9cf79232ce> /private/var/containers/Bundle/Application/90A535F8-D72B-4DDE-92CD-E21BB5A700BA/My_app.app/Frameworks/UnityFramework.framework/UnityFramework
    160. 0x182c7f000 - 0x182cc4fff libdispatch.dylib arm64e  <959cd6e40ce73022b73c8b36f79f4745> /usr/lib/system/libdispatch.dylib
    161. 0x182f77000 - 0x1833cafff CoreFoundation arm64e  <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    162. 0x1833cb000 - 0x1835a7fff CoreServices arm64e  <8d3ff6abc6ed39a78c72f68dc150901f> /System/Library/Frameworks/CoreServices.framework/CoreServices
    163. 0x1835f1000 - 0x18366afff SystemConfiguration arm64e  <c250509f5dfa3961a5b079af86531c92> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
    164. 0x183c52000 - 0x184722fff libnetwork.dylib arm64e  <d810c68913393fc696e8196b9901e4dc> /usr/lib/libnetwork.dylib
    165. 0x1847a1000 - 0x184aa5fff Foundation arm64e  <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation
    166. 0x19b515000 - 0x19b54efff libobjc.A.dylib arm64e  <6d12ade560653900a6bc80677ccac819> /usr/lib/libobjc.A.dylib
    167. 0x19d610000 - 0x19d628fff libsystem_trace.dylib arm64e  <e47c51bb9d5a3882a6bef744a30cce80> /usr/lib/system/libsystem_trace.dylib
    168. 0x1b9a59000 - 0x1b9a8cfff libsystem_kernel.dylib arm64e  <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib
    169. 0x1f3444000 - 0x1f344afff libsystem_platform.dylib arm64e  <9b829bd8a5ba3cd78e9313538dcd12b2> /usr/lib/system/libsystem_platform.dylib
    170. 0x1f344c000 - 0x1f3457fff libsystem_pthread.dylib arm64e  <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib
    171. 0x1f3467000 - 0x1f349efff libxpc.dylib arm64e  <e8a600510c6835aeaefd9d97cc7f2696> /usr/lib/system/libxpc.dylib
    172.  
    173. EOF
    174.  
    upload_2021-10-5_16-47-50.png
     
    Last edited: Oct 5, 2021
    MagicMiikka likes this.
  2. lyha

    lyha

    Joined:
    Feb 28, 2016
    Posts:
    15
    Workaround in case you are using Firebase.
    Add to Info.plist record (via Xcode, Boolean type):
    FirebaseAppStoreReceiptURLCheckEnabled = NO
     
    Last edited: Oct 15, 2021
  3. SolaninMoon

    SolaninMoon

    Joined:
    Nov 8, 2012
    Posts:
    6
    I have same trouble
    My enviroment is Unity 2021.1.24f1 and xcode 13.0
    please help
     
  4. ChrisoperRobi

    ChrisoperRobi

    Joined:
    Feb 23, 2015
    Posts:
    2
    Thank you! This solved it for us. We also had this problem, starts up on first try but crashes beyond 2nd try. Worked on iPad iOS 14.7.1 concurrently. I still get some wierd logs in Xcode when running:


    [B][general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' ([B]***********[/B]) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.objects', even though it was not explicitly included in the client allowed classes set: '{([/B]

    [B] "'NSArray' (***********) [/System/Library/Frameworks/CoreFoundation.framework]"[/B]

    [B])}'. This will be disallowed in the future.[/B]
     
  5. Becreatives

    Becreatives

    Joined:
    Apr 17, 2018
    Posts:
    17
    Hi, we had FirebaseAppStoreReceiptURLCheckEnabled = NO to Info.plist but it didn't work. Anyone with a possible solution?
     
  6. cinoman_unity

    cinoman_unity

    Joined:
    Feb 8, 2020
    Posts:
    2
    Downgrading to xcode 12.5 fixed this
     
    ilmario and songguangze like this.
  7. unity_9dZzAew-Gz3Mgg

    unity_9dZzAew-Gz3Mgg

    Joined:
    May 13, 2020
    Posts:
    1
    It looks like you have some key on Info.plist with incorrect type. Do you have record with key "NS.objects"? Looks like there used NSString somewhere where should be used NSArray.
    Just an idea.
    By the way, FirebaseAppStoreReceiptURLCheckEnabled should have type Boolean.
     
  8. Richard_p_02

    Richard_p_02

    Joined:
    Jun 18, 2019
    Posts:
    14
    We have the same issue. The game stucks since 2nd session on ios 15.

    We added FirebaseAppStoreReceiptURLCheckEnabled = 0 (Boolean) to info.plist. However, it didn't work.

    Is there any solution? (We are going to downgrade xcode to 12.5)

    Our environment is:
    - Unity: 2019.4.17
    - Xcode: 13.0
    - Firebase: 8.2
     
  9. Richard_p_02

    Richard_p_02

    Joined:
    Jun 18, 2019
    Posts:
    14
    Adding FirebaseAppStoreReceiptURLCheckEnabled = 0 (Boolean) to info.plist works fine.

    We had another issue in our project. We upgraded MoPub to 5.18 this time, and the crash was caused by the ironSrouce sdk. Unfortunately, the behavior was the same to the firebase crash. It cost us a long time to debug.

    Issue: The game stucks since 2nd session on ios 15.
    Environment:
    - Unity: 2019.4.17
    - Xcode: 13.0 (also crashed in 12.5)
    - MoPub: 5.18
    - ironSource:1.2.23(ios:7.1.11.0)
    Current Solution: Remove ironSource SDK;
     
    ilmario and unity_9dZzAew-Gz3Mgg like this.
  10. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    Finaly i found the solution. Downgrade xcode to 12.5
    Environment:
    Unity:2020.3.20f1
    XCode: Before:13.0 After: 12.5
     
  11. AlekseyDubrovskyi

    AlekseyDubrovskyi

    Joined:
    Jun 22, 2020
    Posts:
    1
    Not the best solution to downgrade especially if you have an "Invalid bitcode version" error because of the installed SDK. So will wait for a proper fix.
     
  12. ItsaGts

    ItsaGts

    Joined:
    May 25, 2021
    Posts:
    7
    FirebaseAppStoreReceiptURLCheckEnabled = 0 (Boolean) solved my problem.
    Thanks a lot.
     
  13. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    291
    It seems that it's an issue related to the inner workings between iOS 15 and Firebase. What I found the most terrifying is that we wouldn't know this issue will be coming until iOS 15 is released. By the time when we discover the issue, many users have been experienced this issue and quit the game for good.
     
  14. todans

    todans

    Joined:
    Mar 4, 2014
    Posts:
    12
    Seems like it's fixed in Firebase 8.8.0
     
    ilmario likes this.
  15. TareqOmour

    TareqOmour

    Joined:
    Apr 10, 2019
    Posts:
    1
    Any updates on this issue? updating firebase to 8.8.0 didn't work for us
     
  16. carldevelopsforcoffee

    carldevelopsforcoffee

    Joined:
    Sep 20, 2017
    Posts:
    19
    Firebase 8.8.0 didn't fix the issue.
     
  17. Richard_p_02

    Richard_p_02

    Joined:
    Jun 18, 2019
    Posts:
    14
    Adding FirebaseAppStoreReceiptURLCheckEnabled = NO would cause another issue. The firebase analytics will not log in_app_purchasing event.
     
  18. XEDORA

    XEDORA

    Joined:
    Jul 8, 2015
    Posts:
    11
    if you have mobile notifications package, update it to 2.0.0+
     
    NunoEM likes this.
  19. tarmo-jussila

    tarmo-jussila

    Joined:
    Jun 4, 2015
    Posts:
    42
    It seems this helped for us. Firebase and Mobile Notifications were clashing hard but updating to 2.0.0 helped.

    However, local notifications started to have issues after updating on iOS. We don't see scheduled local notifications anymore after updating. Most likely it's somehow related to backgrounding the app on iOS. It's not working the same as before. Any ideas?