diff --git a/packages/flutter_tools/lib/src/ios/device_ios.dart b/packages/flutter_tools/lib/src/ios/device_ios.dart index deb0e17334a..0aa8cf553cc 100644 --- a/packages/flutter_tools/lib/src/ios/device_ios.dart +++ b/packages/flutter_tools/lib/src/ios/device_ios.dart @@ -19,7 +19,6 @@ import 'simulator.dart'; const String _ideviceinstallerInstructions = 'To work with iOS devices, please install ideviceinstaller.\n' 'If you use homebrew, you can install it with "\$ brew install ideviceinstaller".'; -const String _flutterToolsFlagPrefix = "flutter_tools_"; class IOSDeviceDiscovery extends DeviceDiscovery { List _devices = []; @@ -332,15 +331,15 @@ class IOSSimulator extends Device { List args = []; if (checked) { - args.add("--${_flutterToolsFlagPrefix}checked"); + args.add("--enable-checked-mode"); } if (startPaused) { - args.add("--${_flutterToolsFlagPrefix}startPaused"); + args.add("--start-paused"); } if (debugPort != observatoryDefaultPort) { - args.add("--${_flutterToolsFlagPrefix}debugPort=$debugPort"); + args.add("--observatory-port=$debugPort"); } // Step 5: Launch the updated application in the simulator