Skip to content

Commit

Permalink
Revert 9749bea. Accidentally pushed to flutter instead of fork repo f…
Browse files Browse the repository at this point in the history
…or PR.

This reverts commit 9749bea.
  • Loading branch information
xster committed Apr 11, 2018
1 parent 9749bea commit 3923ccf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/flutter_tools/lib/src/ios/mac.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
];
Expand Down

0 comments on commit 3923ccf

Please sign in to comment.