This pull request addresses an issue encountered during the compilation process where the error message "Can't find the 'node' binary to build the React Native bundle." was displayed. The root cause of this issue is related to me using asdf for managing Node.js installations on the development machine, but you could also experience this if you use something like nvm.
To resolve this issue, I modified the xcode build phases in the APN app to match the FCM app. I also created a new RN app to confirm that the build phase in new apps matches the FCM app (it does).
I also added the xcprivacy file that RN generates for you. This file is also required to make the app compile locally.
This pull request addresses an issue encountered during the compilation process where the error message "Can't find the 'node' binary to build the React Native bundle." was displayed. The root cause of this issue is related to me using
asdf
for managing Node.js installations on the development machine, but you could also experience this if you use something likenvm
.To resolve this issue, I modified the xcode build phases in the APN app to match the FCM app. I also created a new RN app to confirm that the build phase in new apps matches the FCM app (it does).
I also added the xcprivacy file that RN generates for you. This file is also required to make the app compile locally.