From 5a70e802faeed724ac9cd6d97913dc849dbe5a4a Mon Sep 17 00:00:00 2001 From: Roland Kakonyi Date: Thu, 10 Oct 2024 09:18:14 +0200 Subject: [PATCH] prevent running pod tools in non-mac environments --- example/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/package.json b/example/package.json index 6373c883..2bb68c46 100644 --- a/example/package.json +++ b/example/package.json @@ -9,8 +9,8 @@ "ios": "react-native run-ios", "start": "react-native start", "pods": "yarn pods-install || yarn pods-update", - "pods-install": "NO_FLIPPER=1 yarn pod-install", - "pods-update": "cd ios && NO_FLIPPER=1 pod update --silent" + "pods-install": "[ \"$(uname)\" != Darwin ] || NO_FLIPPER=1 yarn pod-install", + "pods-update": "[ \"$(uname)\" != Darwin ] || cd ios && NO_FLIPPER=1 pod update --silent" }, "dependencies": { "@react-native-picker/picker": "2.6.1",