[TIMOB-11599] Fixed issues with building from Xcode not properly interpr...

...eting the device and deploy type. Added the --legacy flag to invoke the old builder.py. Fixed bug when building from Xcode where the PATH might not contain the path where node is installed. Correctly return the legacy build command's exit code in the event of an error. Force the removal of colors when building directly from Xcode to clean up the log output.