Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Xcode 10: Command PhaseScriptExecution failed with NVM #43

Closed
pieterbeulque opened this issue Sep 24, 2018 · 4 comments
Closed

Xcode 10: Command PhaseScriptExecution failed with NVM #43

pieterbeulque opened this issue Sep 24, 2018 · 4 comments
Labels

Comments

@pieterbeulque
Copy link

Description

I have expo-cli installed globally through NPM (that is installed on my system using nvm).
I ejected Expo to install Cocoapods depedendencies for Expo GL (EXGL).

Expected Behavior

Run Xcode Build and get a compiled app.

Observed Behavior

Xcode build fails.

Please install expo-cli command
Command PhaseScriptExecution failed with a nonzero exit code

Environment

Environment:
OS: macOS High Sierra 10.13.6
Node: 10.8.0
Yarn: Not Found
npm: 6.4.1
Watchman: Not Found
Xcode: Xcode 10.0 Build version 10A255
Android Studio: Not Found

Packages: (wanted => installed)
expo: ^30.0.1 => 30.0.1
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz => 0.55.4

Diagnostics report:
https://exp-xde-diagnostics.s3.amazonaws.com/pieterbeulque-768c02ed-a08c-4951-9f56-e887077ab919.tar.gz

Also specify:

  • Phone/emulator/simulator platform, model and version:

xCode 10.0 with any simulator.

@pieterbeulque
Copy link
Author

It works if I edit the Prepare Expo Build Phase in Xcode to:

expocommand="/Users/pieterbeulque/.nvm/versions/node/v10.8.0/bin/expo"

@esamelson
Copy link
Contributor

Hi @pieterbeulque - thanks for the report. I believe we're working on finding a more sustainable solution for this. In the meantime your workaround should work just fine.

@esamelson
Copy link
Contributor

Going to close this as a duplicate of expo/expo#2301 since the relevant code is in the expo/expo repo, not this one.

@mrchauhan2802
Copy link

It works if I edit the Prepare Expo Build Phase in Xcode to:

expocommand="/Users/pieterbeulque/.nvm/versions/node/v10.8.0/bin/expo"

What you change and how you open it to edit

i have same issue

@lock lock bot added the outdated label Jul 1, 2019
@lock lock bot locked and limited conversation to collaborators Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants