'How do i solve xcode build failure about security?

no more lib in packages.json except for above.

packages.json...
 "dependencies": {
    "react": "17.0.2",
    "react-native": "0.68.0",
    "react-native-image-picker": "^4.7.3"
  },

I had installed project with 'npx react-native init [myProjectName] --template react-native-template-typescript'

had lauched on xcode. But it has occured security problem.

attached security problem log...


Details

Could not launch “complicore”

Domain: IDEDebugSessionErrorDomain

Code: 3
        
Failure Reason: Security
        
User Info: {
        
DVTErrorCreationDateKey = "2022-04-12 23:39:40 +0000";
        
DVTRadarComponentKey = 855031;
        
IDERunOperationFailingWorker = DBGLLDBLauncher;
        
RawUnderlyingErrorMessage = Security;
        
}
        
--
        
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
        
"device_isWireless" = 1;
        
"device_model" = "iPhone10,4";
        
"device_osBuild" = "13.3 (17C54)";
        
"device_platform" = "com.apple.platform.iphoneos";
        
"launchSession_schemeCommand" = Run;
        
"launchSession_state" = 1;
        
"launchSession_targetArch" = arm64;
        
"operation_duration_ms" = 34146;
        
"operation_errorCode" = 3;
        
"operation_errorDomain" = IDEDebugSessionErrorDomain;
        
"operation_errorWorker" = DBGLLDBLauncher;
        
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
        
"param_consoleMode" = 0;
        
"param_debugger_attachToExtensions" = 0;
        
"param_debugger_attachToXPC" = 1;

"param_debugger_type" = 5;
        
"param_destination_isProxy" = 0;
        
"param_destination_platform" = "com.apple.platform.iphoneos";
        
"param_diag_MainThreadChecker_stopOnIssue" = 0;
        
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
        
"param_diag_MallocStackLogging_enableForXPC" = 1;
        
"param_diag_allowLocationSimulation" = 1;
        
"param_diag_gpu_frameCapture_enable" = 0;
        
"param_diag_gpu_shaderValidation_enable" = 0;
        
"param_diag_gpu_validation_enable" = 0;
        
"param_diag_memoryGraphOnResourceException" = 0;
        
"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_stopOnIssue" = 0;
        
"param_diag_showNonLocalizedStrings" = 0;
        
        
"param_diag_viewDebugging_enabled" = 1;
        
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
        
"param_install_style" = 0;
        
"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_runnable_swiftVersion" = "5.5.2";
        
"param_runnable_type" = 2;

"param_testing_launchedForTesting" = 0;
        
"param_testing_suppressSimulatorApp" = 0;
        
"param_testing_usingCLI" = 0;
        
"sdk_canonicalName" = "iphoneos15.2";
        
"sdk_osVersion" = "15.2";

"sdk_variant" = iphoneos;
        
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source