React Native build issue

Created an app in react native but it fails when trying to load the iOS application. The error block is too large to pull any useful debug information A summarised version is below

2024-06-28 12:57:20.459 xcodebuild[4719:53569] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408 Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fce74c8d030> Method: -platform Thread: <NSThread: 0x7fce702108b0>{number = 3, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2024-06-28 12:57:20.712 xcodebuild[4719:53646] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408 Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fce74c8d030> Method: -platform Thread: <NSThread: 0x7fce74cca640>{number = 10, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2024-06-28 12:57:20.817 xcodebuild[4719:53646] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408 Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fce74c8d030> Method: -platform Thread: <NSThread: 0x7fce74cca640>{number = 10, name = (null)} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. ** BUILD FAILED **

The following build commands failed: PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/mobiledev/Library/Developer/Xcode/DerivedData/ScanValidate-evohoxurqotysugjrrxkbpjnbrzn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Script-46EB2E0001BE30.sh (in target 'React-Codegen' from project 'Pods') (1 failure) Build logs written to /Users/mobiledev/Desktop/React-Native/ScanValidate/.expo/xcodebuild.log

I've been using RN in a large app for a few years. The larger and more complex the project becomes, and especially the more and more things that get implicitly and explicitly pulled in by RN then the more and more and more unstable Xcode becomes in being able to compile it, and then run it. I can't speculate from what you've posted what the issue is, and am not familiar with that framework being used, but from experience if you clean everything (I mean everything, including deleting the node_modules folder and the pods folder and everything in Xcode) and restart the Mac then there's a 95% chance issues go away.

React Native build issue
 
 
Q