From 083cf076706f45c8c4dad7302d0f529f2b03e24c Mon Sep 17 00:00:00 2001 From: bitsikka Date: Wed, 4 Sep 2019 22:05:15 +0545 Subject: [PATCH] Ensure the pods are installed if `ios/Pods/` dir isn't there --- nix/mobile/ios/install-pods-and-status-go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/mobile/ios/install-pods-and-status-go.sh b/nix/mobile/ios/install-pods-and-status-go.sh index 0168b2d4f5..4fac344d44 100755 --- a/nix/mobile/ios/install-pods-and-status-go.sh +++ b/nix/mobile/ios/install-pods-and-status-go.sh @@ -11,7 +11,7 @@ RCTSTATUS_DIR="$STATUS_REACT_HOME/modules/react-native-status/ios/RCTStatus" targetBasename='Statusgo.framework' # Compare target folder with source to see if copying is required -if [ -d "$RCTSTATUS_DIR/$targetBasename" ] && \ +if [ -d "$RCTSTATUS_DIR/$targetBasename" ] && [ -d $STATUS_REACT_HOME/ios/Pods/ ] && \ diff -q --no-dereference --recursive $RCTSTATUS_DIR/$targetBasename/ $RCTSTATUS_FILEPATH/ > /dev/null; then echo "$RCTSTATUS_DIR/$targetBasename already in place" else