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
3a9956fb
Commit
3a9956fb
authored
Mar 21, 2016
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump engine revision and ensure the Xcode project setup expects assets at the archive root.
parent
2fc4f207
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
16 deletions
+6
-16
engine.version
bin/cache/engine.version
+1
-1
setup_xcodeproj.dart
packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart
+5
-15
No files found.
bin/cache/engine.version
View file @
3a9956fb
dcbd64e460d922b9b7b86235db1472fef89933e
7
646500663e7db5deaab2d0a8a96ace2b29d0da2
7
packages/flutter_tools/lib/src/ios/setup_xcodeproj.dart
View file @
3a9956fb
...
...
@@ -63,24 +63,14 @@ Future<bool> _inflateXcodeArchive(String directory, List<int> archiveBytes) asyn
// Cleanup the temp directory after unzipping
runSync
([
'/bin/rm'
,
'-rf'
,
tempDir
.
path
]);
Directory
flutterDir
=
new
Directory
(
path
.
join
(
directory
,
'Flutter'
));
bool
flutterDirExists
=
await
flutterDir
.
exists
();
if
(!
flutterDirExists
)
// Verify that we have an Xcode project
Directory
flutterProj
=
new
Directory
(
path
.
join
(
directory
,
'FlutterApplication.xcodeproj'
));
bool
flutterProjExists
=
await
flutterProj
.
exists
();
if
(!
flutterProjExists
)
{
printError
(
"
${flutterProj.path}
does not exist"
);
return
false
;
// Move contents of the Flutter directory one level up
// There is no dart:io API to do this. See https://github.com/dart-lang/sdk/issues/8148
for
(
FileSystemEntity
file
in
flutterDir
.
listSync
())
{
try
{
runCheckedSync
([
'/bin/mv'
,
file
.
path
,
directory
]);
}
catch
(
error
)
{
return
false
;
}
}
runSync
([
'/bin/rm'
,
'-rf'
,
flutterDir
.
path
]);
return
true
;
}
...
...
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