Sunday, May 12, 2024
HomeiOS Developmentjavascript - Command PhaseScriptExecution failed with a nonzero exit code with ios...

javascript – Command PhaseScriptExecution failed with a nonzero exit code with ios construct #44533


After I tried to construct the iOS mission, I confronted this challenge:

/Customers/laptop/Downloads/einvoicing-react-native-mobile-app-1/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/react_native_pods_utils/script_phases.sh: line 86: /usr/native/bin/node
: No such file or listing
Command PhaseScriptExecution failed with a nonzero exit code.

My react model: “react-native”: “0.70.5”,

The script_phases line: 86 is:
The script_phases line: 86

React Native Model: 0.75.0

Output of npx react-native information:

System: OS: macOS 14.4.1 CPU: (8) arm64 Apple M2 Reminiscence: 120.72 MB / 8.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.13.1 - ~/.nvm/variations/node/v20.13.1/bin/node Yarn: 1.22.22 - /usr/native/bin/yarn npm: 10.5.2 - ~/.nvm/variations/node/v20.13.1/bin/npm Watchman: Not Discovered Managers: CocoaPods: 1.15.2 - /Customers/awshakam/.gem/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4 Android SDK: Not Discovered IDEs: Android Studio: 2023.2 AI-232.10300.40.2321.11668458 Xcode: 15.3/15E204a - /usr/bin/xcodebuild Languages: Java: Not Discovered npmPackages: @react-native-community/cli: Not Discovered react: Not Discovered react-native: Not Discovered react-native-macos: Not Discovered npmGlobalPackages: *react-native*: Not Discovered.

Stacktrace or Logs

/Customers/laptop/Downloads/einvoicing-react-native-mobile-app-1/ios/Pods/../.xcode.env: line 5: 
: command not discovered
Node discovered at: /usr/native/bin/node
/Customers/laptop/Downloads/einvoicing-react-native-mobile-app-1/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/react_native_pods_utils/script_phases.sh: line 87: /usr/native/bin/node
: No such file or listing
Command PhaseScriptExecution failed with a nonzero exit code

Steps to breed

  1. Yarn.
  2. cd ios.
  3. pod set up -> pods put in efficiently.
  4. open xcode mission.
  5. Product -> construct.
  6. Error image



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments