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.
Details
Details
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
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Did you test that things still work for the non-nix workflow?
No, but only /usr/local/bin is ordered in front of /usr/bin on my mac (by default), and it only contains items installed with homebrew. So it may have an effect, but the desire here is to get BSD versions of commands (e.g. sed), and the macOS native clang compiler.