[iOS] Fix pod install and react-native with nix env
Summary:
Force /usr/bin to be prefixed on PATH to ensure
that macOS tooling is found first for iOS builds. Otherwise build will
fail with GNU coreutils and Nix provided clang.
Test Plan:
nix develop # if you want to thoroughly clean everything git clean -xfd cd native/ios # Remove and prune pod artifacts pod deintegrate Comm.xcodeproj/ git checkout . # restore project cd ../.. yarn cleaninstall # should also run pod install # Assert that pod install succeeded # gRPC-C++ is the pod likely to fail and gRPC-Core is a downstream dependency ls native/ios/Pods/gRPC-Core
Depends on D5488
Reviewers: atul, varun
Reviewed By: atul
Subscribers: ashoat, tomek, abosh
Differential Revision: https://phab.comm.dev/D5508