validator.rb: Print xcodebuild command on -v.

Proposed in https://github.com/CocoaPods/Specs/pull/9179.