change to using ENV for XCode