Commit 9749bea7 authored by Xiao Yu's avatar Xiao Yu

Remove the initial xcodebuild clean step which seems unnecessary

parent 5cd825a8
......@@ -299,28 +299,10 @@ 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