Unverified Commit 48ab8648 authored by Chinmay Garde's avatar Chinmay Garde Committed by GitHub

On simulators, don't pass file paths to the engine that done exist. (#16756)

parent eb1fd786
......@@ -319,14 +319,6 @@ class IOSSimulator extends Device {
// Prepare launch arguments.
final List<String> args = <String>['--enable-dart-profiling'];
if (!prebuiltApplication) {
args.addAll(<String>[
'--flutter-assets-dir=${fs.path.absolute(getAssetBuildDirectory())}',
'--dart-main=${fs.path.absolute(mainPath)}${debuggingOptions.buildInfo.previewDart2?".dill":""}',
'--packages=${fs.path.absolute('.packages')}',
]);
}
if (debuggingOptions.debuggingEnabled) {
if (debuggingOptions.buildInfo.isDebug)
args.add('--enable-checked-mode');
......
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