Move `xcodebuild` out of this list, and call the list `args`; invoke it below as `system 'xcodebuild', *args`.