Runtime Crash on iOS 13.x - Loading.cpp : applyFixupsToImage

Hello team,

We have some time experiencing this crash in our application, this only happens on iOS 13.x versions, and it's working perfectly on iOS 12.x, iOS 14.x and upper.

To compile the application we are using Xcode 14.2.0, but I read in other threads that the issue should be fixed by using Xcode 14.3.1:

https://developer.apple.com/forums/thread/727680?answerId=753414022#753414022

So I tested again by compiling the app with that version but the result is the same, the app crashes immediately. I have also tried to compile it with Xcode 15.x but with no results.

This is the crash log:

{"app_name":"Retail-Beta","timestamp":"2023-11-20 22:25:22.00 +0000","app_version":"1.29.0","slice_uuid":"fe183a9d-16be-355d-b7dc-61ec3ddc8537","adam_id":0,"build_version":"1","bundleID":"com.inditex.appgeret.dev","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 13.4.1 (17E8258)","incident_id":"791A392C-B9FB-44A1-98FF-C7361A37AFC6","name":"Retail-Beta"}
Incident Identifier: 791A392C-B9FB-44A1-98FF-C7361A37AFC6
CrashReporter Key:   6af5c2f0a1a67986c7759373f00ff1e4c8cc596b
Hardware Model:      iPhone12,8
Process:             Retail-Beta [1680]
Path:                /private/var/containers/Bundle/Application/82DCA6DB-3F0D-4230-8011-5CF9CE678B4B/Retail-Beta.app/Retail-Beta
Identifier:          com.....appgeret.dev
Version:             1 (1.29.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.....appgeret.dev [1827]


Date/Time:           2023-11-20 22:25:22.1498 +0000
Launch Time:         2023-11-20 22:25:21.8010 +0000
OS Version:          iPhone OS 13.4.1 (17E8258)
Release Type:        User
Baseband Version:    1.05.28
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Assertion failed: (gotLocation), function applyFixupsToImage_block_invoke_3, file /Library/Caches/com.apple.xbs/Sources/dyld/dyld-750.4.2/dyld3/Loading.cpp, line 779.
Highlighted by Thread:  0

Backtrace not available

Unknown thread crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000009   x2: 0x000000016d8b41a0   x3: 0x0000000000000014
    x4: 0x000000016d8b3da0   x5: 0x0000000000000000   x6: 0x000000016d8b4b30   x7: 0x000000016d8b4c48
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x2e676e6964616f4c  x11: 0x6e696c202c707063
   x12: 0x2f33646c79642f32  x13: 0x2e676e6964616f4c  x14: 0x6e696c202c707063  x15: 0x000a2e3937372065
   x16: 0x0000000000000209  x17: 0x000000010349f510  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016d8b3da0  x21: 0x0000000000000014  x22: 0x000000016d8b41a0  x23: 0x0000000000000009
   x24: 0x0000000000000006  x25: 0x0000000000000160  x26: 0x000000000000035e  x27: 0x000000010333a62c
   x28: 0x00000000000e69b0   fp: 0x000000016d8b3d70   lr: 0x00000001034ac66c
    sp: 0x000000016d8b3d30   pc: 0x00000001034a4f30 cpsr: 0x40000000
   esr: 0x00000000  Address size fault

Binary images description not available

Error Formulating Crash Report:
Failed to create CSSymbolicatorRef - corpse still valid ¯\_(ツ)_/¯

EOF

Could you please help us to understand what it's happening here? Are we missing something or could we are doing something wrong from our side? We are running low on options or ideas.

Thanks in advance, Paul

Xcode 15 should be able to build an app that runs on iOS 13 (it supports back to iOS 12). You wrote:

I have also tried to compile it with Xcode 15.x but with no results.

What does “no results” mean? Do you mean that it fails in the same way?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there any update about this crash? I still get this issue on XCode 15.2 (15C500b)

Runtime Crash on iOS 13.x - Loading.cpp : applyFixupsToImage
 
 
Q