Post

Replies

Boosts

Views

Activity

Command PhaseScriptExecution failed with a nonzero exit code
Context: I am working on a React Native project using Expo and Xcode. I’m encountering an error during the build process that I’ve been unable to resolve. I’ve tried various troubleshooting steps, but the issue persists. Environment Details: Xcode Version: (Specify your Xcode version here, e.g., Xcode 15) macOS Version: (Specify your macOS version here, e.g., macOS 14 Ventura) React Native Version: 0.74.5 Expo SDK Version: 51.0.27 Node Version: (22.6) Error Command PhaseScriptExecution failed with a nonzero exit code node_modules/react-native/scripts/react_native_pods_utils/script_phases.sh: line 34: /opt/homebrew/Cellar/node/22.5.1/bin/node: No such file or directory i have almost tried everything but still same error again and again to debug this i have used stack overflow,chat GPT,bing,Gemini AI, readit Please help me to resolve this issue My Dependencies "dependencies": { "@10play/tentap-editor": "^0.5.17", "@expo/webpack-config": "^19.0.1", "@react-native-async-storage/async-storage": "1.23.1", "@react-navigation/drawer": "^6.7.2", "@react-navigation/native": "^6.1.18", "@react-navigation/stack": "^6.4.1", "@reduxjs/toolkit": "^2.2.7", "axios": "^1.7.4", "expo": "^51.0.28", "expo-constants": "^16.0.2", "expo-dev-client": "^4.0.23", "expo-device": "^6.0.2", "expo-file-system": "^17.0.1", "expo-image-picker": "^15.0.7", "expo-media-library": "^16.0.4", "expo-modules-core": "^1.12.21", "expo-notifications": "^0.28.15", "expo-sharing": "^12.0.1", "expo-status-bar": "^1.12.1", "expo-storage": "^51.0.8", "expo-updates": "^0.25.22", "formik": "^2.4.6", "native-base": "^3.4.28", "npm": "^10.8.2", "react": "18.2.0", "react-devtools": "^5.3.1", "react-dom": "^18.3.1", "react-native": "0.74.5", "react-native-calendars": "^1.1306.0", "react-native-cn-quill": "^0.7.18", "react-native-gesture-handler": "~2.16.1", "react-native-reanimated": "~3.10.1", "react-native-render-html": "^6.3.4", "react-native-safe-area-context": "4.10.5", "react-native-screens": "3.31.1", "react-native-svg": "^15.5.0", "react-native-toast-message": "^2.2.0", "react-native-web": "^0.19.12", "react-native-webview": "13.8.6", "react-query": "^3.39.3", "react-redux": "^9.1.2", "redux-saga": "^1.3.0", "yup": "^1.4.0" }
1
0
1.3k
Aug ’24