HomePhabricator
Diffusion Comm 4c40865824a4

[iOS] Fix pod install and react-native with nix env

Description

[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

Details

Provenance
jonAuthored on Oct 27 2022, 10:10 AM
Reviewer
atul
Differential Revision
D5508: [iOS] Fix pod install and react-native with nix env
Parents
rCOMM9fee06a231c0: [Nix] Fix whitespace quoting for path
Branches
Unknown
Tags
Unknown