On iPhone, dev client is crashing on refresh

Video: Dropbox - app_crashing_ios.mov - Simplify your life

Does anyone know what could be happening? When I shake the device, the menu comes up AND the app screen turns white and it starts “downloading” again. When it completes downloading the app just crashes.

Then when I reopen it, I can reload the app like normal.

Hey @tennisbum, could you try accessing the native logs? They tend to provide more detail and better insight into what causes a crash.

Cheers,
Adam

Ok, should I follow the instructions here: Viewing logs - Expo Documentation?

I have the same problem.
Here is the native log when the crash happens, filterer by the app’s bundleID
I tried removing the app components one by one, but nothing works.

Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Workspace connection invalidated.
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Now flagged as pending exit for reason: workspace client connection invalidated
Apr  8 14:36:08 backboardd(IOKit)[64] <Notice>: Connection removed: IOHIDEventSystemConnection uuid:B91894BD-23FC-4F99-AF42-5A1873484D0D pid:1303 process:Dev type:Passive entitlements:0x0 caller:BackBoardServices: <redacted> + 336 attributes:{
   HighFrequency = 0;
   bundleID = "myapp.dev";
   pid = 1303;
} state:0x1 events:53 mask:0x800
Apr  8 14:36:08 backboardd(BackBoardHIDEventFoundation)[64] <Notice>: Removing client connection <BKHIDClientConnection: 0x115575770; IOHIDEventSystemConnectionRef: 0x10a37c980; vpid: 1303(vEAC); taskPort: 0x7C703; bundleID: myapp.dev> for client: IOHIDEventSystemConnection uuid:B91894BD-23FC-4F99-AF42-5A1873484D0D pid:1303 process:Dev type:Passive entitlements:0x0 caller:BackBoardServices: <redacted> + 336 attributes:{
   HighFrequency = 0;
   bundleID = "myapp.dev";
   pid = 1303;
} state:0x1 events:53 mask:0x800 source:HID
Apr  8 14:36:08 backboardd(BackBoardHIDEventFoundation)[64] <Notice>: new resolutions for pid:1303 (<display: builtin; environment: keyboardFocus; pid: 1303; token: com.apple.frontboard.systemappservices::sceneID%3Amyapp.dev-default>)
Apr  8 14:36:08 locationd[68] <Notice>: Client myapp.dev disconnected
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: [application<myapp.dev>:1303] termination reported by launchd (0, 0, 6)
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Removing process: [application<myapp.dev>:1303]
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Removing launch job for: [application<myapp.dev>:1303]
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Removed job for [application<myapp.dev>:1303]
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Removing assertions for terminated process: [application<myapp.dev>:1303]
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Removed last relative-start-date-defining assertion for process application<myapp.dev>
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Calculated state for application<myapp.dev>: none (role: None)
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Process exited: <RBSProcessExitContext| voluntary>.
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Setting process task state to: Not Running
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Calculated state for application<myapp.dev>: none (role: None)
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: XPC connection invalidated: [application<myapp.dev>:1303]
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Setting process visibility to: Unknown
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [application<myapp.dev>:1303] Invalidating workspace.
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Removing workspace registration for processHandle: [application<myapp.dev>:1303]
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Removing: <FBApplicationProcess: 0x12078e840; application<myapp.dev>:1303(vEAC)>
Apr  8 14:36:08 SpringBoard(SpringBoard)[61] <Notice>: Process exited: <FBApplicationProcess: 0x12078e840; application<myapp.dev>:1303(vEAC)> -> <RBSProcessExitContext| voluntary>
Apr  8 14:36:08 mediaserverd(MediaExperience)[35] <Notice>: -CMSessionMgr- CMSessionMgrHandleApplicationStateChange: Client myapp.dev with pid '1303' is now Terminated. Background entitlement: NO ActiveLongFormVideoSession: NO WhitelistedLongFormVideoApp NO
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: XPC connection invalidated: [application<myapp.dev>:1303]
Apr  8 14:36:08 SpringBoard(SpringBoard)[61] <Notice>: Application process state changed for myapp.dev: (null)
Apr  8 14:36:08 SpringBoard(UserNotificationsServer)[61] <Notice>: [myapp.dev] myapp.dev application state changed to Terminated
Apr  8 14:36:08 SpringBoard(UserNotificationsServer)[61] <Notice>: Move topics from Enabled to NonWaking: (
   "myapp.dev"
)
Apr  8 14:36:08 locationd[68] <Notice>: {"msg":"#CLIUA Marking change", "clientKey":"myapp.dev", "reason":"Process state from RunningBoard", "assertionLevel":5, "coming":0}
Apr  8 14:36:08 locationd[68] <Notice>: {"msg":"#IncreasedProminence InUseLevel less than threshold. current session terminated", "ClientKey":"myapp.dev", "ClientsWithActiveProminenceSession":"{(\134n)}"}
Apr  8 14:36:08 SpringBoard(SpringBoard)[61] <Notice>: didRemoveExternalForegroundApplicationSceneHandle pid:1303 scene:com.apple.frontboard.systemappservices::sceneID%3Amyapp.dev-default now:<empty>
Apr  8 14:36:08 SpringBoard(SpringBoard)[61] <Notice>: rules: target changed from:<pid=1303 token=com.apple.frontboard.systemappservices::sceneID%3Amyapp.dev-default> to (null)

Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Error>: RBSStateCapture remove item called for untracked item <RBConnectionClient| 1303 name:application<myapp.dev> entitlements:<RBEntitlements| [
			
			]> inheritanceManager:<RBClientInheritanceManager| >>
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Error>: COSMCtrl _foregroundAppActivity incoming bundle myapp.dev has nil supplied UUID, finds existing 4AECB67C-9E3D-3318-8447-57F404B1BE46
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: COSMCtrl ensureMaintenanceTimer set delay 300.500 for eviction timer on myapp.dev
Apr  8 14:36:08 mediaserverd(CMCapture)[35] <Notice>: <<<< FigCaptureDisplayLayoutMonitor >>>> -[FigCaptureDisplayLayoutMonitor _updateCurrentLayout:]: <FBSDisplayLayout: 0x15f5ef080; displayIdentity: Main> {    bounds = {{0, 0}, {375, 667}};    interfaceOrientation = "portrait (1)";    backlightLevel = 100;    elements = {        <SBSDisplayLayoutElement: 0x15f58cba0; com.apple.springboard.home-screen; frame: {{0, 0}, {375, 667}}; level: 0; role: primary>;        <SBSDisplayLayoutElement: 0x1647e5580; sceneID:myapp.dev-default; bundleID: myapp.dev; frame: {{0, 0}, {375, 667}}; level: 1; role: primary>;    }    timestamp = 2022\M-e\M-9\M-44\M-f\M^\\M^H8\M-f\M^W\M-% 14:36:08 JST;}
Apr  8 14:36:08 runningboardd(RunningBoard)[32] <Notice>: Acquiring assertion targeting 1303 from originator [daemon<com.apple.SpringBoard>:61] with description <RBSAssertionDescriptor| "FBSceneSnapshotAction:sceneID:myapp.dev-default" ID:32-61-7782 target:1303 attributes:[
	<RBSDomainAttribute| domain:"com.apple.frontboard" name:"SceneSnapshotAction" sourceEnvironment:"(null)">,
	<RBSDurationAttribute| invalidationDuration:5.00 warningDuration:0.00 startPolicy:Fixed endPolicy:Invalidate>
	]>
Apr  8 14:36:08 SpringBoard(UIKitCore)[61] <Notice>: No longer tracking: <FBScene: 0x283f8bf00; sceneID:myapp.dev-default>
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Created: <FBSceneSnapshotAction: 0x282528400; sceneID:myapp.dev-default>
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [sceneID:myapp.dev-default] scene content state changed: notReady
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160440 - WiFi in/out: 1354848917/10358868, WiFi delta_in/delta_out: 6323/2159, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160467 - WiFi in/out: 1354867379/10367572, WiFi delta_in/delta_out: 18462/8704, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160486 - WiFi in/out: 1354903594/10401838, WiFi delta_in/delta_out: 36215/34266, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160445 - WiFi in/out: 1354911886/10404170, WiFi delta_in/delta_out: 8292/2332, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160439 - WiFi in/out: 1354918976/10406787, WiFi delta_in/delta_out: 7090/2617, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160458 - WiFi in/out: 1354928023/10411629, WiFi delta_in/delta_out: 9047/4842, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: myapp.dev: Foreground: false
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: call _saveAndUnloadSelectState on myapp.dev exiting foreground state
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Error>: Scene FBSceneManager/sceneID:myapp.dev-default update failed: <NSError: 0x2805787b0; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
   NSUnderlyingError = <NSError: 0x280694630; domain: FBWorkspace; code: 1; reason: "Scene client is invalid.">;
}
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Error>: Scene FBSceneManager/sceneID:myapp.dev-default update failed: <NSError: 0x280540870; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
   NSUnderlyingError = <NSError: 0x2806b10b0; domain: FBWorkspace; code: 1; reason: "Scene client is invalid.">;
}
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Client provider invalidated: <FBWorkspace: 0x283dd8790; application<myapp.dev>>
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Invalidating scene: sceneID:myapp.dev-default
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Invalidating: <FBSceneSnapshotAction: 0x282528400; sceneID:myapp.dev-default>
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: Got response for <FBSceneSnapshotAction: 0x282528400; sceneID:myapp.dev-default>: <NSError: 0x2804494a0; domain: BSActionErrorDomain; code: 6>
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Notice>: [sceneID:myapp.dev-default][1] Scene invalidated.
Apr  8 14:36:08 SpringBoard(SpringBoard)[61] <Notice>: keyboardFocus environment target removed from scene: sceneID:myapp.dev-default
Apr  8 14:36:08 SpringBoard(FrontBoard)[61] <Error>: Ignoring update for invalidated scene: sceneID:myapp.dev-default


Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160487 - WiFi in/out: 1354928232/10411862, WiFi delta_in/delta_out: 209/233, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160452 - WiFi in/out: 1354929495/10415884, WiFi delta_in/delta_out: 1263/4022, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 symptomsd(SymptomEvaluator)[133] <Notice>: Data Usage for myapp.dev on flow 160449 - WiFi in/out: 1354929704/10416130, WiFi delta_in/delta_out: 209/246, Cell in/out: 0/0, Cell delta_in/delta_out: 0/0, RNF: 0, subscriber tag: 0
Apr  8 14:36:08 ReportCrash[205] <Notice>: loadStoreInfo [platform 2] myapp.dev from file:///private/var/containers/Bundle/Application/B038E9AA-F78B-4C4F-A55B-97D19C1C7387/Dev.app/
Apr  8 14:36:08 ReportCrash[205] <Notice>: myapp.dev is not a MetricKit client
Apr  8 14:36:08 ReportCrash(CoreAnalytics)[205] <Notice>: Sending event: com.apple.stability.crash {"bundleID":"myapp.dev","bundleVersion":"1","exceptionCodes":"0x0000000000000000, 0x0000000000000000(\134n    0,\134n    0\134n)EXC_CRASHSIGABRT","incidentID":"8CC07ABA-F088-4E84-AA5A-BD0AC516E9E6","logwritten":1,"process":"Dev","terminationReasonNamespace":"<none>"}

I believe I’ve had the same problem too.
The custom-dev-client is not stable and have more crash

I have this problem too on iphone 13 pro

Similar problems here.