An alternative is to hardcode the homebrew path in the shell script. I find it less generic but certainly straightforwards.
Add this line in the very beginning of "Bundle React native code and images" build phase script:
export PATH="$PATH:/opt/homebrew/bin"
export NODE_BINARY=node
...
表评论5638
表评论2681