Do TODO: Remove duplicate code in macos_job-xcodebuild_test.sh