diff --git a/packages/flutter_tools/lib/executable.dart b/packages/flutter_tools/lib/executable.dart index 4cf30cd939..debcd456fc 100644 --- a/packages/flutter_tools/lib/executable.dart +++ b/packages/flutter_tools/lib/executable.dart @@ -19,7 +19,6 @@ import 'src/commands/create.dart'; import 'src/commands/daemon.dart'; import 'src/commands/devices.dart'; import 'src/commands/install.dart'; -import 'src/commands/ios.dart'; import 'src/commands/listen.dart'; import 'src/commands/logs.dart'; import 'src/commands/refresh.dart'; @@ -49,7 +48,6 @@ Future main(List args) async { ..addCommand(new DaemonCommand(hideCommand: !verboseHelp)) ..addCommand(new DevicesCommand()) ..addCommand(new InstallCommand()) - ..addCommand(new IOSCommand()) ..addCommand(new ListenCommand()) ..addCommand(new LogsCommand()) ..addCommand(new RefreshCommand()) diff --git a/packages/flutter_tools/lib/src/commands/ios.dart b/packages/flutter_tools/lib/src/commands/ios.dart deleted file mode 100644 index 1858e10168..0000000000 --- a/packages/flutter_tools/lib/src/commands/ios.dart +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import "dart:async"; -import "dart:io"; - -import "../base/globals.dart"; -import "../runner/flutter_command.dart"; -import '../ios/setup_xcodeproj.dart'; - -class IOSCommand extends FlutterCommand { - final String name = "ios"; - final String description = "Commands for creating and updating Flutter iOS projects."; - - IOSCommand() { - argParser.addFlag('init', help: 'Initialize the Xcode project for building the iOS application'); - } - - @override - Future runInProject() async { - if (!Platform.isMacOS) { - printStatus("iOS specific commands may only be run on a Mac."); - return 1; - } - - if (argResults['init']) - return await setupXcodeProjectHarness(); - - printError("No flags specified."); - return 1; - } -} diff --git a/packages/flutter_tools/lib/src/ios/device_ios.dart b/packages/flutter_tools/lib/src/ios/device_ios.dart index aa487627d2..eaea55d1c5 100644 --- a/packages/flutter_tools/lib/src/ios/device_ios.dart +++ b/packages/flutter_tools/lib/src/ios/device_ios.dart @@ -541,7 +541,7 @@ bool _validateEngineRevision(ApplicationPackage app) { String iosRevision = _getIOSEngineRevision(app); if (iosRevision != skyRevision) { - printError("Error: incompatible sky_engine revision; please run 'flutter ios --init' to update."); + printError("Error: incompatible sky_engine revision."); printStatus('sky_engine revision: $skyRevision, iOS engine revision: $iosRevision'); return false; } else { diff --git a/packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart b/packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart index 7698f635b0..37ae7be5af 100644 --- a/packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart +++ b/packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart @@ -107,7 +107,6 @@ void _setupXcodeProjXcconfig(String filePath) { StringBuffer localsBuffer = new StringBuffer(); localsBuffer.writeln('// This is a generated file; do not edit or check into version control.'); - localsBuffer.writeln('// Recreate using `flutter ios --init`.'); String flutterRoot = path.normalize(Platform.environment[kFlutterRootEnvironmentVariableName]); localsBuffer.writeln('FLUTTER_ROOT=$flutterRoot');