This is a question entirely to do with React Native and nothing to do with iOS/Swift etc. and therefore is not an appropriate forum. Stackoverflow would be better.
You could try adding the following to the Bundle React Native build phase to see if that works:
if [ -d "/opt/homebrew/bin" ] && [ -x "/opt/homebrew/bin" ]; then
export PATH="$PATH:/opt/homebrew/bin"
fi
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: