mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert 9749bea7b94f0f80f501099b809ee90684c4de3b. Accidentally pushed to flutter instead of fork repo for PR.
This reverts commit 9749bea7b94f0f80f501099b809ee90684c4de3b.
This commit is contained in:
parent
9749bea7b9
commit
3923ccf655
@ -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',
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user