Commit 3923ccf6 authored by Xiao Yu's avatar Xiao Yu

Revert 9749bea7. Accidentally pushed to...

Revert 9749bea7. Accidentally pushed to flutter instead of fork repo for PR.

This reverts commit 9749bea7.
parent 9749bea7
......@@ -299,10 +299,28 @@ Future<XcodeBuildResult> buildXcodeProject({
}
}
final Status cleanStatus =
logger.startProgress('Running Xcode clean...', expectSlowOperation: true);
final RunResult cleanResult = await runAsync(
<String>[
'/usr/bin/env',
'xcrun',
'xcodebuild',
'clean',
'-configuration', configuration,
],
workingDirectory: app.appDirectory,
);
cleanStatus.stop();
if (cleanResult.exitCode != 0) {
throwToolExit('Xcode failed to clean\n${cleanResult.stderr}');
}
final List<String> buildCommands = <String>[
'/usr/bin/env',
'xcrun',
'xcodebuild',
'build',
'-configuration', configuration,
'ONLY_ACTIVE_ARCH=YES',
];
......
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