Commit 19ae1e78 authored by Adam Barth's avatar Adam Barth

Merge pull request #1371 from abarth/silence_xcodebuild

flutter start shouldn't log xcodebuild output
parents b7396ba1 4a012998
......@@ -539,14 +539,14 @@ Future<bool> _buildIOSXcodeProject(ApplicationPackage app, bool isDevice) async
return false;
List<String> command = [
'/usr/bin/env', 'xcrun', 'xcodebuild', '-target', 'Runner', '-configuration', 'Release'
'xcrun', 'xcodebuild', '-target', 'Runner', '-configuration', 'Release'
];
if (!isDevice) {
command.addAll(['-sdk', 'iphonesimulator']);
}
int result = await runCommandAndStreamOutput(command,
ProcessResult result = await Process.runSync('/usr/bin/env', command,
workingDirectory: app.localPath);
return result == 0;
return result.exitCode == 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment