Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2396b42f
Commit
2396b42f
authored
Feb 17, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1935 from abarth/rm_ios_command
Remove flutter ios command
parents
58de420e
0bb8d21b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
37 deletions
+1
-37
executable.dart
packages/flutter_tools/lib/executable.dart
+0
-2
ios.dart
packages/flutter_tools/lib/src/commands/ios.dart
+0
-33
device_ios.dart
packages/flutter_tools/lib/src/ios/device_ios.dart
+1
-1
setup_xcodeproj.dart
packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart
+0
-1
No files found.
packages/flutter_tools/lib/executable.dart
View file @
2396b42f
...
...
@@ -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<String> 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
())
...
...
packages/flutter_tools/lib/src/commands/ios.dart
deleted
100644 → 0
View file @
58de420e
// 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
<
int
>
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
;
}
}
packages/flutter_tools/lib/src/ios/device_ios.dart
View file @
2396b42f
...
...
@@ -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
{
...
...
packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart
View file @
2396b42f
...
...
@@ -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
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment