iOS Application works on Simulator, but it crashes on a real iPhone - Swift and Firebase

-1


I wrote an Application, where I can manage accounts and data. Since I imported Firebase, it crashes while starting on a real iPhone(0_abort_with_payload,6_dyld_start, installed newest stable iOS), but it works well on a simulator. I've also tried it on many different iPhones but every time it crashes. Does anybody know why this happens and how I could fix it? Thank you guys!

The iPhone XR Error Log:

Incident Identifier: 2A4ECD18-EB76-444A-8B05-3E27848EE791
CrashReporter Key:   4388fbea368068ee3a57fd76e34618ed3e925225
Hardware Model:      iPhone11,8
Process:             Zeiterfassung SU Rendsburg [1694]
Path:                /private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Zeiterfassung SU Rendsburg
Identifier:          com.SuRendsburg.Zeiterfassung-SU-Rendsburg
Version:             1 (1.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.SuRendsburg.Zeiterfassung-SU-Rendsburg [1788]


Date/Time:           2020-03-18 10:09:21.4083 +0100
Launch Time:         2020-03-18 10:09:21.1862 +0100
OS Version:          iPhone OS 13.3.1 (17D50)
Release Type:        User
Baseband Version:    2.04.03
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: @rpath/FBLPromises.framework/FBLPromises | Referenced from: /private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Zeiterfassung SU Rendsburg | Reason: no suitable image found.  Did find: | /private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises' | /private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: stat() failed with errno=1 | /private/var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/0
Triggered by Thread:  0

Thread 0 Crashed:
0   dyld                            0x00000001030832ac __abort_with_payload + 8
1   dyld                            0x000000010308a914 abort_with_payload_wrapper_internal + 104
2   dyld                            0x000000010308a948 unw_set_reg.cold.1 + 0
3   dyld                            0x000000010308777c dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 341884 (.cold.1) + 0
4   dyld                            0x000000010303b288 dyld::_main+ 29320 (macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 5260
5   dyld                            0x000000010303522c dyldbootstrap::start+ 4652 (dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 432
6   dyld                            0x0000000103035038 _dyld_start + 56

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000005   x2: 0x000000016d4e6bc0   x3: 0x00000000000000c7
    x4: 0x000000016d4e67c0   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x00000000000003c0
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x766972702f272072  x11: 0x2f7261762f657461
   x12: 0x656e6961746e6f63  x13: 0x6c646e75422f7372  x14: 0x63696c7070412f65  x15: 0x00302f6e6f697461
   x16: 0x0000000000000209  x17: 0x000000010307d860  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016d4e67c0  x21: 0x00000000000000c7  x22: 0x000000016d4e6bc0  x23: 0x0000000000000005
   x24: 0x0000000000000006  x25: 0x00000001030a4000  x26: 0x00000001030a4000  x27: 0x00000001030a4000
   x28: 0x0000000102c50000   fp: 0x000000016d4e6790   lr: 0x000000010308a914
    sp: 0x000000016d4e6750   pc: 0x00000001030832ac cpsr: 0x00000000
   esr: 0x56000080  Address size fault

Binary Images:
0x102918000 - 0x102a9ffff Zeiterfassung SU Rendsburg arm64  <082b568d122c3548ad326539efec6bd3> /var/containers/Bundle/Application/0A02D09C-E2D1-4631-B51B-2ED631E2D887/Zeiterfassung SU Rendsburg.app/Zeiterfassung SU Rendsburg
0x103034000 - 0x10309bfff dyld arm64e  <e008b93875933f57b94a747bc6c3beb5> /usr/lib/dyld
0x1b1d59000 - 0x1b1db3fff libc++.1.dylib arm64e  <fff3d40d85a0308eac32908bca1188d0> /usr/lib/libc++.1.dylib
0x1b3b55000 - 0x1b3cdbfff libsqlite3.dylib arm64e  <1670cf23e637381abf5faebd116d31ee> /usr/lib/libsqlite3.dylib
0x1b671a000 - 0x1b67f1fff CoreTelephony arm64e  <7b0b55a59dc733fab88e0c20a1f781f1> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x1e7809000 - 0x1e781afff libz.1.dylib arm64e  <cf99bb9237a434b4b2394e3856427cd6> /usr/lib/libz.1.dylib

EOF


Id also attached a screenshot of the SIGABRT Screenshot of the crash

ios
swift
xcode
firebase
ios-simulator
asked on Stack Overflow Mar 18, 2020 by DJ Cape • edited Mar 18, 2020 by DJ Cape

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0