Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

iOS crash runAllInitializersInImage

Discussion in 'Scripting' started by vivalavladislav, Jun 3, 2020.

  1. vivalavladislav

    vivalavladislav

    Joined:
    Sep 12, 2013
    Posts:
    16
    Hey, we've recently migrated our project from 2019.2.21f1 to 2019.3.11f1. Running the iOS app crashes with a following message. Any info how to fix this would be appreciated.

    Code (CSharp):
    1. 0   libsystem_kernel.dylib            0x00000001b339adf0 __pthread_kill + 8
    2. 1   libsystem_pthread.dylib           0x00000001b32ba930 pthread_kill + 228
    3. 2   libsystem_c.dylib                 0x00000001b3248ba4 abort + 104
    4. 3   libswiftCore.dylib                0x00000001056355f4 0x105370000 + 2905588
    5. 4   libswiftCore.dylib                0x000000010562ccfc 0x105370000 + 2870524
    6. 5   libdyld.dylib                     0x00000001b33b474c invocation function for block in dyld3::AllImages::runAllInitializersInImage+ 67404 (dyld3::closure::Image const*, dyld3::MachOLoaded const*) + 148
    7. 6   libdyld.dylib                     0x00000001b33a63e4 dyld3::closure::Image::forEachInitializer(void const*, void + 9188 (void const*) block_pointer) const + 104
    8. 7   libdyld.dylib                     0x00000001b33b4584 invocation function for block in dyld3::AllImages::runInitialzersBottomUp+ 66948 (dyld3::closure::Image const*) + 312
    9. 8   libdyld.dylib                     0x00000001b33a6c98 dyld3::closure::Image::forEachImageToInitBefore(void + 11416 (unsigned int, bool&) block_pointer) const + 104
    10. 9   libdyld.dylib                     0x00000001b33b4f10 dyld3::AllImages::loadImage+ 69392 (Diagnostics&, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool) + 652
    11. 10  libdyld.dylib                     0x00000001b33b4adc dyld3::AllImages::dlopen+ 68316 (Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*) + 868
    12. 11  libdyld.dylib                     0x00000001b33b6524 dyld3::dlopen_internal+ 75044 (char const*, int, void*) + 364
    13. 12  libdyld.dylib                     0x00000001b33a97b0 dlopen + 116
    14. 13  CoreFoundation                    0x00000001b35bb9e8 _CFBundleDlfcnLoadFramework + 140
    15. 14  CoreFoundation                    0x00000001b34de194 _CFBundleLoadExecutableAndReturnError + 432
    16. 15  Foundation                        0x00000001b38adc18 -[NSBundle loadAndReturnError:] + 316
    17. 16  dev                               0x0000000102d74b60 UnityFrameworkLoad() + 756576 (main.mm:0)
    18. 17  dev                               0x0000000102d74c5c main + 756828 (main.mm:25)
    19. 18  libdyld.dylib                     0x00000001b33a52dc start + 4
     
  2. NiallSoe

    NiallSoe

    Joined:
    Jan 30, 2018
    Posts:
    17
    Hi @vivalavladislav,

    Did you ever get a resolution on this? It would seem we are hitting this after upgrading to Xcode 13.2...

    Thanks!
     
  3. farm1108

    farm1108

    Joined:
    Nov 6, 2018
    Posts:
    1
    Hi @NiallSoe
    I get the same error stack , Did you ever get a resolution on this? my app crash on device+ develpment ipa, but can run on Xcode+device
    Thanks