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
5d496143
Commit
5d496143
authored
Feb 12, 2016
by
Todd Volkert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review
parent
69e1647a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
.gitignore
examples/.gitignore
+0
-1
application_package.dart
packages/flutter_tools/lib/src/application_package.dart
+1
-1
ios.dart
packages/flutter_tools/lib/src/commands/ios.dart
+2
-2
No files found.
examples/.gitignore
View file @
5d496143
...
...
@@ -5,6 +5,5 @@
.packages
.pub/
build/
ios/Generated/
packages
pubspec.lock
packages/flutter_tools/lib/src/application_package.dart
View file @
5d496143
...
...
@@ -82,7 +82,7 @@ class AndroidApk extends ApplicationPackage {
class
IOSApp
extends
ApplicationPackage
{
static
const
String
_defaultId
=
'io.flutter.runner.Runner'
;
static
const
String
_defaultPath
=
'ios/
G
enerated'
;
static
const
String
_defaultPath
=
'ios/
.g
enerated'
;
IOSApp
({
String
localPath:
_defaultPath
,
...
...
packages/flutter_tools/lib/src/commands/ios.dart
View file @
5d496143
...
...
@@ -152,7 +152,7 @@ class IOSCommand extends FlutterCommand {
Future
<
int
>
_runInitCommand
()
async
{
// Step 1: Fetch the archive from the cloud
String
iosFilesPath
=
path
.
join
(
Directory
.
current
.
path
,
"ios"
);
String
xcodeprojPath
=
path
.
join
(
iosFilesPath
,
"
G
enerated"
);
String
xcodeprojPath
=
path
.
join
(
iosFilesPath
,
"
.g
enerated"
);
List
<
int
>
archiveBytes
=
await
_fetchXcodeArchive
();
if
(
archiveBytes
.
isEmpty
)
{
...
...
@@ -172,7 +172,7 @@ class IOSCommand extends FlutterCommand {
// one does not exist.
File
generatedGitignore
=
new
File
(
path
.
join
(
iosFilesPath
,
".gitignore"
));
if
(!
generatedGitignore
.
existsSync
())
{
generatedGitignore
.
writeAsStringSync
(
"
G
enerated/
\n
"
);
generatedGitignore
.
writeAsStringSync
(
"
.g
enerated/
\n
"
);
}
// Step 4: Setup default user editable files if this is the first run of
...
...
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