Run script in Xcode build phase

606 Views Asked by At

In my package.json file I have a script that I'm running

node src/validateRun

i tried

/usr/local/bin/node "$SRC_DIR/src/validateRun.js"

but i got this error in xcode:

Command /bin/sg failed with exit code 1

I clicked on new run script phase inside Xcode but I'm not sure how to tell to run this this script.

thanks in advance for the help

0

There are 0 best solutions below