iOS Development

firebase – Ios app and unity as library module Arcore based mostly crash

Spread the love


I’ve my iOS MyApp , utilizing Firebase, and I’ve to combine a “Unity as library” module, based mostly on ARCore Geospatial

I’ve constructed it making an attempt a whole lot of completely different methods , however it doesn’t matter what I did , at runtime it log a whole lot of Firebase battle after which crash as for the log extract under

The Unity frameworks run clean when run as alone

If I take away Firebase from MyApp every thing additionally run high quality, (however in fact I can not take away Firebase on manufacturing launch)

Anybody else round obtained the identical situation?

Many error like this

objc[8956]: Class FIRInstallationsErrorUtil is applied in each /personal/var/containers/Bundle/Software/EE0FB4F1-DFB7-4A15-8781-DE1336275BEA/Loquis.app/Frameworks/UnityFramework.framework/UnityFramework (0x10bcbd960) and /personal/var/containers/Bundle/Software/EE0FB4F1-DFB7-4A15-8781-DE1336275BEA/Loquis.app/Loquis (0x101cd0c38). One of many two can be used. Which one is undefined. objc[8956]: Class FIRInstallationsHTTPError is applied in each /personal/var/containers/Bundle/Software/EE0FB4F1-DFB7-4A15-8781-DE1336275BEA/Loquis.app/Frameworks/UnityFramework.framework/UnityFramework (0x10bcbd988) and /personal/var/containers/Bundle/Software/EE0FB4F1-DFB7-4A15-8781-DE1336275BEA/Loquis.app/Loquis (0x101cd0c60). One of many two can be used. Which one is undefined.

then …

10.19.1 - [FirebaseCore][I-COR000003] The default Firebase app has not but been configured. Add `FirebaseApp.configure()` to your utility initialization. This may be finished in within the App Delegate's utility(_:didFinishLaunchingWithOptions:)` (or the `@primary` struct's initializer in SwiftUI).

and at last it crash with this

** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', purpose: '-[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x282f7ed30'
*** First throw name stack:
(0x198194870 0x1904b3c00 0x19822519c 0x1980d9ff8 0x19821ab10 0x1096bc7ec 0x1096bbf8c 0x1096596b4 0x1038e4f50 0x1038e6b34 0x1038eeba4 0x1038ef728 0x1038fc5f8 0x1038fbc2c 0x201b05964 0x201b05a04)
*** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', purpose: '-[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x282f7ed30'
*** First throw name stack:
(0x198194870 0x1904b3c00 0x19822519c 0x1980d9ff8 0x19821ab10 0x1096bc7ec 0x1096bbf8c 0x1096596b4 0x1038e4f50 0x1038e6b34 0x1038eeba4 0x1038ef728 0x1038fc5f8 0x1038fbc2c 0x201b05964 0x201b05a04)
[0x125f6c800] Created session
[0x0] Releasing session
[0x125f6c800] Releasing session
Uncaught exception: NSInvalidArgumentException: -[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x282f7ed30
(
    0   CoreFoundation                      0x000000019819487c B37A1273-B0C2-312E-9E0B-7143FB645C69 + 968828
    1   libobjc.A.dylib                     0x00000001904b3c00 objc_exception_throw + 60
    2   CoreFoundation                      0x000000019822519c B37A1273-B0C2-312E-9E0B-7143FB645C69 + 1560988
    3   CoreFoundation                      0x00000001980d9ff8 B37A1273-B0C2-312E-9E0B-7143FB645C69 + 204792
    4   CoreFoundation                      0x000000019821ab10 _CF_forwarding_prep_0 + 96
    5   UnityFramework                      0x00000001096bc7ec -[GDTCCTUploadOperation updateNextUploadTimeWithResponse:forTarget:] + 52
    6   UnityFramework                      0x00000001096bbf8c __54-[GDTCCTUploadOperation uploadBatch:toTarget:storage:]_block_invoke + 56
    7   UnityFramework                      0x00000001096596b4 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 52
    8   libdispatch.dylib                   0x00000001038e4f50 _dispatch_call_block_and_release + 32
    9   libdispatch.dylib                   0x00000001038e6b34 _dispatch_client_callout + 20
    10  libdispatch.dylib                   0x00000001038eeba4 _dispatch_lane_serial_drain + 1368
    11  libdispatch.dylib                   0x00000001038ef728 _dispatch_lane_invoke + 408
    12  libdispatch.dylib                   0x00000001038fc5f8 _dispatch_root_queue_drain_deferred_wlh + 328
    13  libdispatch.dylib                   0x00000001038fbc2c _dispatch_workloop_worker_thread + 444
    14  libsystem_pthread.dylib             0x0000000201b05964 _pthread_wqthread + 288
    15  libsystem_pthread.dylib             0x0000000201b05a04 start_wqthread + 8
)
libc++abi: terminating as a consequence of uncaught exception of sort NSException

objc[8956]: Class _TtGCs18_DictionaryStorageSSGV20FirebaseCoreInternal13WeakContainerCS0_16HeartbeatStorage__$ is applied in each ?? (0x13b525b28) and /usr/lib/swift/libswiftCore.dylib (0x1e91273a0). One of many two can be used. Which one is undefined.

4 thoughts on “firebase – Ios app and unity as library module Arcore based mostly crash

  1. I enjoyed it just as much as you will be able to accomplish here. You should be apprehensive about providing the following, but the sketch is lovely and the writing is stylish; yet, you should definitely return back as you will be doing this walk so frequently.

Leave a Reply

Your email address will not be published. Required fields are marked *