Javascript/React-Native

[RN] The process did launch, but has since exited or crashed.

eulBlue 2025. 2. 7. 11:05

 

Simulator device failed to launch <package>.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 3
Failure Reason: The process did launch, but has since exited or crashed.
User Info: {
    BSErrorCodeDescription = ProcessExited;
    DVTErrorCreationDateKey = "2025-02-07 01:38:23 +0000";
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
    NSLocalizedFailure = "The request to open <package> failed.";
    SimCallingSelector = "launchApplicationWithID:options:pid:error:";
}
--
The request to open <package> failed. The process did launch, but has since exited or crashed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 3
Failure Reason: The process did launch, but has since exited or crashed.
User Info: {
    BSErrorCodeDescription = ProcessExited;
    NSLocalizedFailure = "The request to open <package> failed.";
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_identifier" = "CA716033-BE04-4209-8ED0-1D3126867397";
    "device_model" = "iPhone17,1";
    "device_osBuild" = "18.0 (22A3351)";
    "device_platform" = "com.apple.platform.iphonesimulator";
    "device_thinningType" = "iPhone17,1";
    "dvt_coredevice_version" = "397.21";
    "dvt_coresimulator_version" = 987;
    "dvt_mobiledevice_version" = "1759.81.1";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 1342;
    "operation_errorCode" = 3;
    "operation_errorDomain" = FBSOpenApplicationServiceErrorDomain;
    "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphonesimulator";
    "param_diag_113575882_enable" = 0;
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_guardMalloc_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_mtc_enable" = 1;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_enable" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 2;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 0;
    "param_launcher_substyle" = 0;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphonesimulator18.0";
    "sdk_osVersion" = "18.0";
    "sdk_variant" = iphonesimulator;
}
--


System Information

macOS Version 15.3 (Build 24D60)
Xcode 16.0 (23051) (Build 16A242d)
Timestamp: 2025-02-07T10:38:23+09:00

와 진짜 이거때문에 오전시간 내내

원인을 못찾아서 계속 지웠다가 .. 재빌드 클린 뭐 안해본게 없네 .. :(

시뮬레이터에서 iPhone 16 은 되고 iPhone 16 Pro 에서는 빌드가 안되길래

혹시몰라서 시뮬레이터 > Deivce > Erase All Content and Settings...

이후 확실하게 Restart 까지 해주고

다시 RUN 하니까 문제없이 해결된다.

기존 캐시랑 충돌이 있었던것 같은데 모두 삽질하지말고 그냥 바로 초기화해버리자 ㅎ