TestFlight build generated using xCode 15.3 crashing on some iPhones(iPhone XR - 14.0.1)

Crash Report: - Incident Identifier: E145FDE5-5D98-4970-9964-AF87D023667A Hardware Model: iPhone11,8 Process: Sumridhi [845] Path: /private/var/containers/Bundle/Application/F9531158-C957-44F7-B6E8-93A3BE46E7EC/Sumridhi.app/Sumridhi Identifier: com.syngenta.retailerapp Version: 26 (1.1.9) AppStoreTools: 15E204 AppVariant: 1:iPhone11,8:14 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.syngenta.retailerapp [518]

Date/Time: 2024-04-01 15:51:32.2302 +0530 Launch Time: 2024-04-01 15:51:31.5328 +0530 OS Version: iPhone OS 14.0.1 (18A393) Release Type: User Baseband Version: 3.00.01 Report Version: 104

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 2

Thread 2 name: Thread 2 Crashed: 0 libsystem_kernel.dylib 0x00000001d2b7798c __pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001ee19fc74 pthread_kill + 272 (pthread.c:1375) 2 libsystem_c.dylib 0x00000001afd48bb4 abort + 104 (abort.c:110) 3 libc++abi.dylib 0x00000001badbfe24 abort_message + 132 (abort_message.cpp:76) 4 libc++abi.dylib 0x00000001badb1434 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:67) 5 libobjc.A.dylib 0x00000001bacc0710 _objc_terminate() + 132 (objc-exception.mm:701) 6 libc++abi.dylib 0x00000001badbf2a8 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59) 7 libc++abi.dylib 0x00000001badbf234 std::terminate() + 44 (cxa_handlers.cpp:88) 8 libdispatch.dylib 0x00000001a6844adc _dispatch_client_callout + 40 (object.m:562) 9 libdispatch.dylib 0x00000001a684bc08 _dispatch_lane_serial_drain + 580 (inline_internal.h:2548) 10 libdispatch.dylib 0x00000001a684c734 _dispatch_lane_invoke + 408 (queue.c:3862) 11 libdispatch.dylib 0x00000001a6856528 _dispatch_workloop_worker_thread + 708 (queue.c:6590) 12 libsystem_pthread.dylib 0x00000001ee1a0908 _pthread_wqthread + 276 (pthread.c:2193) 13 libsystem_pthread.dylib 0x00000001ee1a777c start_wqthread + 8

Thread 2 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x000000016bc49e90 x5: 0x000000016bc4a440 x6: 0x000000000000006e x7: 0x0000000000003800 x8: 0x00000000000005b9 x9: 0x956953cf7e80430d x10: 0x0000000000000002 x11: 0x0000000000000003 x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000041 x16: 0x0000000000000148 x17: 0x000000016bc4b000 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000d03 x21: 0x000000016bc4b0e0 x22: 0x000000020408c340 x23: 0x0000000000000000 x24: 0x0000000000000114 x25: 0x000000016bc4b0e0 x26: 0x0000000282aba4c0 x27: 0x0000000000000000 x28: 0x0000000282aba4c0 fp: 0x000000016bc4a3a0 lr: 0x00000001ee19fc74 sp: 0x000000016bc4a380 pc: 0x00000001d2b7798c cpsr: 0x40000000 esr: 0x56000080 Address size fault

Package.json: -

{ "dependencies": { "@amplitude/react-native": "^2.12.1", "@apollo/client": "^3.1.3", "@gorhom/bottom-sheet": "^2.4.1", "@react-native-community/art": "^1.2.0", "@react-native-community/checkbox": "^0.5.0", "@react-native-community/clipboard": "^1.2.3", "@react-native-community/netinfo": "^5.9.6", "@react-native-community/push-notification-ios": "^1.4.1", "@react-native-masked-view/masked-view": "^0.2.9", "@react-navigation/drawer": "^5.9.0", "@react-navigation/native": "^5.7.3", "@react-navigation/stack": "^5.9.0", "@twotalltotems/react-native-otp-input": "^1.3.11", "@types/moment": "^2.13.0", "@types/react-native-background-timer": "^2.0.0", "@types/react-native-calendar-picker": "^7.0.0", "@types/react-native-snap-carousel": "^3.8.9", "@types/react-native-vector-icons": "^6.4.5", "apollo-cache-persist": "^0.1.1", "apollo-cache-persist-encrypt": "^0.1.2", "apollo-link": "^1.2.14", "apollo-link-http": "^1.5.17", "axios": "^1.1.3", "clevertap-react-native": "^0.9.6", "cross-fetch": "^4.0.0", "graphql": "^15.3.0", "husky": "^4.3.8", "jail-monkey": "^2.6.0", "moment": "^2.27.0", "react": "16.13.1", "react-native": "0.63.2", "react-native-android-open-settings": "^1.3.0", "react-native-app-intro-slider": "^4.0.4", "react-native-background-timer": "^2.4.1", "react-native-barcode-mask": "^1.2.4", "react-native-blob-util": "^0.16.2", "react-native-calendar-picker": "^7.0.0", "react-native-camera": "^4.2.1", "react-native-config": "^1.5.1", "react-native-device-info": "^7.1.0", "react-native-dropdown-picker": "^3.6.8", "react-native-exit-app": "^1.1.0", "react-native-fast-image": "^8.6.3", "react-native-fs": "^2.16.6", "react-native-geolocation-service": "^5.3.1", "react-native-gesture-handler": "^1.10.3", "react-native-image-crop-picker": "^0.40.3", "react-native-image-modal": "^2.0.4", "react-native-keyboard-aware-scroll-view": "^0.9.3", "react-native-linear-gradient": "^2.5.6", "react-native-mmkv-storage": "^0.3.7", "react-native-modal": "^11.5.6", "react-native-openanything": "0.0.6", "react-native-orientation-locker": "^1.5.0", "react-native-otp-reader": "^1.0.2", "react-native-pdf": "^6.5.0", "react-native-permissions": "3.8.4", "react-native-progress": "^4.1.2", "react-native-push-notification": "^5.1.0", "react-native-reanimated": "^1.11.0", "react-native-root-toast": "^3.2.1", "react-native-safe-area-context": "^3.1.4", "react-native-screens": "^2.10.1", "react-native-share": "7.0.1", "react-native-simple-toast": "^1.1.4", "react-native-snap-carousel": "3.9.1", "react-native-splash-screen": "^3.2.0", "react-native-status-bar-height": "^2.6.0", "react-native-svg": "^9.13.6", "react-native-svg-transformer": "^1.0.0", "react-native-swipe-gestures": "^1.0.5", "react-native-swipe-list-view": "^3.2.3", "react-native-syngenta-product-assurance": "github:syngenta-digital/mobile-reactnative-product-scan#sumridhi_product_check", "react-native-tab-view": "^2.15.1", "react-native-text-gradient": "^0.1.7", "react-native-vector-icons": "^7.0.0", "react-native-version-info": "^1.1.0", "react-native-webview": "^11.22.7", "react-native-youtube-iframe": "^2.3.0" }, }

Were you able to fix this?

I have the same issue, on IOS 15 it crashes such as iPhone SE physical or iPhone X, iPhone 7, but works on 13, 14 12 etc..

TestFlight build generated using xCode 15.3 crashing on some iPhones(iPhone XR - 14.0.1)
 
 
Q