Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path to node in .xcode.env.local (#43333)
Summary: Pull Request resolved: #43333 This change fixes #43285. Basically, when using a `yarn` alias to install pods, yarn creates a copy of the `node` and `yarn` executables and the `command -v node` command will return the path to that executable. ## Changelog [iOS][Fixed] - Do not use temporary node when creating the .xcode.env.local Reviewed By: dmytrorykun Differential Revision: D54542774 fbshipit-source-id: 3ab0d0bb441988026feff9d5390dcfd10869a1b5
- Loading branch information
f996422
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to use that piece of code but for some reason i kept getting this alias
/private/var/folders/79/pkg907593gd3cc_7tb8p7hj80000gn/T/xfs-d4afa4c8/node
And it seems that the code isnt supporting a fall back so the file will be never made.
It happens when I use yarn to call pod install, if I use NPM or do directly pod install in the terminal, it finds the right path!