ターミナルでコマンドを実行します
sudo /usr/bin/xcodebuild -project awesome.xcodeproj -scheme "AwesomeTests"
-configuration Production test -derivedDataPath ~/Documents/buildData
-sdk "OS X 10.9"
出力の最後の行は次のようになります
error: failed to launch '/Applications/Xcode.app/Contents/Developer/usr/bin/xctest'
-- error: Host::LaunchProcess (launch_info) => pid=0,
path='/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver'
err = Problems with launching via XPC. XPC error : Connection interrupted (0x00000005)
** TEST SUCCEEDED **
これらの行を出力する前に、「xcodebuild がルート プロセスを制御しようとしています。これを許可するには、パスワードを入力してください」というメッセージが表示されます。
Xcode 5.0.2 を使用しています。