Skip to content

App is crashing after upgrading react native version 0.63 to 0.75.3 #49346

Open
@HamzaSaleem7

Description

Description

As the app gets launched, react native white screen appears after that app gets crashed.

Steps to reproduce

Need to create archive then upload the ipa file to testflight.
After that install the app from testflight.
Open the app, the app gets crashed.

React Native Version

0.75.3

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 14.4
  CPU: (12) arm64 Apple M3 Pro
  Memory: 172.69 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.18.1
    path: ~/.nvm/versions/node/v20.18.1/bin/node
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v20.18.1/bin/npm
  Watchman:
    version: 2024.09.23.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.19072.14.2412.12360217
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /Users/hamzasaleem/.sdkman/candidates/java/current/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: ^18.3.1
  react-native:
    installed: 0.75.4
    wanted: ^0.75.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

objc[36102]: Class AKAlertImageURLProvider is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKitUI.framework/AuthKitUI (0x14e68cdd8) and /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit (0x136aed218). One of the two will be used. Which one is undefined.
objc[36102]: Class AKBiometricRatchetUtility is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKitUI.framework/AuthKitUI (0x14e68ce50) and /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit (0x136aee820). One of the two will be used. Which one is undefined.
Something went wrong. Please verify if generated JS bundle is correct.
*** Terminating app due to uncaught exception 'RCTFatalException: Something went wrong. Please verify if generated JS bundle is correct. ', reason: 'Something went wrong. Please verify if generated JS bundle is correct. '
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001222df571 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00000001134be7e8 objc_exception_throw + 48
	2   DubizzleProdInspectionProApp        0x00000001068e9bce RCTFormatError + 0
	3   DubizzleProdInspectionProApp        0x00000001047bc585 +[CodePush ensureBinaryBundleExists] + 97
	4   DubizzleProdInspectionProApp        0x00000001047bbce0 +[CodePush bundleURLForResource:withExtension:subdirectory:bundle:] + 160
	5   DubizzleProdInspectionProApp        0x0000000104362622 -[AppDelegate sourceURLForBridge:] + 17
	6   DubizzleProdInspectionProApp        0x0000000106a2f45e __42-[RCTAppDelegate createRCTRootViewFactory]_block_invoke.111 + 60
	7   DubizzleProdInspectionProApp        0x0000000106a32d68 -[RCTRootViewFactory sourceURLForBridge:] + 107
	8   DubizzleProdInspectionProApp        0x00000001068ed25e -[RCTBridge setUp] + 639
	9   DubizzleProdInspectionProApp        0x00000001068ec3ad -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 291
	10  DubizzleProdInspectionProApp        0x0000000106a2e824 -[RCTAppDelegate createBridgeWithDelegate:launchOptions:] + 73
	11  DubizzleProdInspectionProApp        0x0000000106a2f34d __42-[RCTAppDelegate createRCTRootViewFactory]_block_invoke.99 + 82
	12  DubizzleProdInspectionProApp        0x0000000106a324f9 -[RCTRootViewFactory createBridgeIfNeeded:] + 155
	13  DubizzleProdInspectionProApp        0x0000000106a31a6a -[RCTRootViewFactory viewWithModuleName:initialProperties:launchOptions:] + 598
	14  DubizzleProdInspectionProApp        0x0000000106a2e4cd -[RCTAppDelegate application:didFinishLaunchingWithOptions:] + 325
	15  DubizzleProdInspectionProApp        0x00000001043625b7 -[AppDelegate application:didFinishLaunchingWithOptions:] + 183
	16  DubizzleProdInspectionProApp        0x0000000106d2c936 -[UIApplication(OneSignalReactNative) oneSignalApplication:didFinishLaunchingWithOptions:] + 148
	17  UIKitCore                           0x000000014446b1d2 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 297
	18  UIKitCore                           0x000000014446cf37 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 4253
	19  UIKitCore                           0x0000000144472ac0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1241
	20  UIKitCore                           0x0000000143792b1d -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
	21  UIKitCore                           0x0000000143e877b1 _UIScenePerformActionsWithLifecycleActionMask + 87
	22  UIKitCore                           0x000000014379367b __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
	23  UIKitCore                           0x00000001437930dc -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 249
	24  UIKitCore                           0x00000001437934c4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 813
	25  UIKitCore                           0x0000000143792cf0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 341
	26  UIKitCore                           0x00000001437a0253 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_blo	27  UIKitCore                           0x0000000143d33f8c +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 865
	28  UIKitCore                           0x0000000143ea5e2f _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 261
	29  UIKitCore                           0x000000014379fee2 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 347
	30  UIKitCore                           0x0000000143570a27 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.613 + 877
	31  UIKitCore                           0x000000014356f3dc -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 245
	32  UIKitCore                           0x000000014357058f -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 252
	33  UIKitCore                           0x0000000144471300 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 672
	34  UIKitCore                           0x0000000143d6942d -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 353
	35  FrontBoardServices                  0x0000000123497dfe -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 406
	36  FrontBoardServices                  0x00000001234cba53 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.254 + 279
	37  FrontBoardServices                  0x00000001234a7ac0 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 213
	38  FrontBoardServices                  0x00000001234cb74d __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 328
	39  libdispatch.dylib                   0x0000000122a0058f _dispatch_client_callout + 8
	40  libdispatch.dylib                   0x0000000122a03f65 _dispatch_block_invoke_direct + 507
	41  FrontBoardServices                  0x00000001234f73a7 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	42  FrontBoardServices                  0x00000001234f7281 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 188
	43  FrontBoardServices                  0x00000001234f73cf -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 19
	44  CoreFoundation                      0x000000012223bff3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	45  CoreFoundation                      0x000000012223bf35 __CFRunLoopDoSource0 + 157
	46  CoreFoundation                      0x000000012223b732 __CFRunLoopDoSources0 + 215
	47  CoreFoundation                      0x0000000122235e67 __CFRunLoopRun + 919
	48  CoreFoundation                      0x00000001222356ed CFRunLoopRunSpecific + 557
	49  GraphicsServices                    0x000000012578808f GSEventRunModal + 137
	50  UIKitCore                           0x000000014446f6ee -[UIApplication _run] + 972
	51  UIKitCore                           0x000000014447416e UIApplicationMain + 123
	52  DubizzleProdInspectionProApp        0x00000001043626c6 main + 72
	53  dyld                                0x00000001121423e0 start_sim + 10
	54  ???                                 0x0000000209d33366 0x0 + 8754770790
)
libc++abi: terminating due to uncaught exception of type NSException

Reproducer

null

Screenshots and Videos

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions