fixes script errors on xcode build.  Changed build phase script in xcode