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
e2642fd6
Unverified
Commit
e2642fd6
authored
Nov 28, 2019
by
Jenn Magder
Committed by
GitHub
Nov 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not delete output directory during flutter build ios-framework (#45740)
parent
f2445002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
build_ios_framework.dart
...s/flutter_tools/lib/src/commands/build_ios_framework.dart
+4
-4
No files found.
packages/flutter_tools/lib/src/commands/build_ios_framework.dart
View file @
e2642fd6
...
@@ -148,10 +148,6 @@ class BuildIOSFrameworkCommand extends BuildSubCommand {
...
@@ -148,10 +148,6 @@ class BuildIOSFrameworkCommand extends BuildSubCommand {
final
Directory
outputDirectory
=
fs
.
directory
(
fs
.
path
.
normalize
(
outputArgument
));
final
Directory
outputDirectory
=
fs
.
directory
(
fs
.
path
.
normalize
(
outputArgument
));
if
(
outputDirectory
.
existsSync
())
{
outputDirectory
.
deleteSync
(
recursive:
true
);
}
aotBuilder
??=
AotBuilder
();
aotBuilder
??=
AotBuilder
();
bundleBuilder
??=
BundleBuilder
();
bundleBuilder
??=
BundleBuilder
();
...
@@ -159,6 +155,10 @@ class BuildIOSFrameworkCommand extends BuildSubCommand {
...
@@ -159,6 +155,10 @@ class BuildIOSFrameworkCommand extends BuildSubCommand {
printStatus
(
'Building framework for
$iosProject
in
${getNameForBuildMode(mode)}
mode...'
);
printStatus
(
'Building framework for
$iosProject
in
${getNameForBuildMode(mode)}
mode...'
);
final
String
xcodeBuildConfiguration
=
toTitleCase
(
getNameForBuildMode
(
mode
));
final
String
xcodeBuildConfiguration
=
toTitleCase
(
getNameForBuildMode
(
mode
));
final
Directory
modeDirectory
=
outputDirectory
.
childDirectory
(
xcodeBuildConfiguration
);
final
Directory
modeDirectory
=
outputDirectory
.
childDirectory
(
xcodeBuildConfiguration
);
if
(
modeDirectory
.
existsSync
())
{
modeDirectory
.
deleteSync
(
recursive:
true
);
}
final
Directory
iPhoneBuildOutput
=
modeDirectory
.
childDirectory
(
'iphoneos'
);
final
Directory
iPhoneBuildOutput
=
modeDirectory
.
childDirectory
(
'iphoneos'
);
final
Directory
simulatorBuildOutput
=
modeDirectory
.
childDirectory
(
'iphonesimulator'
);
final
Directory
simulatorBuildOutput
=
modeDirectory
.
childDirectory
(
'iphonesimulator'
);
...
...
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