Clean up, fix typo.
New file: xcodebuild_archive.sh, to be used by Jenkins in lieu of inline shell commands in configuration.