Giter VIP home page Giter VIP logo

Comments (2)

atilafassina avatar atilafassina commented on June 15, 2024

Hello, @LoTwT !!
Thanks for such a detailed report.

This happens because XCode does not use your environment variables by default, so it can't find Node.

The command below should allow your build to pass this step.

defaults write com.apple.dt.Xcode UseSanitizedBuildSystemEnvironment -bool NO

Important to note that this is a system-wide config and that it won't persist once you reboot. Unfortunately, Apple does not provide any other way to solve this more comfortably for us...

from quantum.

LoTwT avatar LoTwT commented on June 15, 2024

Thank you for your help! ❤️
I tried the command above but it still didn't work.

Finally, I find the problem is BLAME to environment variables about Node.

I use fnm to manage my node versions and it works well itself but fails to work with Xcode. I try to set export PATH="$(dirname $(which node)):$PATH" manually and I can build successfully in Xcode. After, I removed what I set and it also works.

I'm confused about what happened now. But at least, I can successfully start the ios dev server.

Thank you for your help and this awesome template again!

from quantum.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.