Xcode Run Script Build Phase error reporting

I thought about blogging about this several months ago, but never got around to it. And don’t skip reading the comments.