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
b930f0d4
Commit
b930f0d4
authored
Apr 06, 2016
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update engine and temporarily get rid of custom build directories in `flutter build ios`
parent
0213b67e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
18 deletions
+4
-18
engine.version
bin/cache/engine.version
+1
-1
build_ios.dart
packages/flutter_tools/lib/src/commands/build_ios.dart
+2
-7
mac.dart
packages/flutter_tools/lib/src/ios/mac.dart
+1
-10
No files found.
bin/cache/engine.version
View file @
b930f0d4
893425d96046e413e643d5de380dfaa2cc5725ed
ed3014b3d337d025393bd894ffa2897e05d43e91
packages/flutter_tools/lib/src/commands/build_ios.dart
View file @
b930f0d4
...
...
@@ -52,20 +52,15 @@ class BuildIOSCommand extends FlutterCommand {
printStatus
(
'Building the application for
$logTarget
.'
);
Directory
buildDir
=
new
Directory
(
path
.
join
(
'build'
,
'ios_
$logTarget
'
));
if
(!
buildDir
.
existsSync
())
await
buildDir
.
create
();
bool
result
=
await
buildIOSXcodeProject
(
app
,
buildForDevice:
!
forSimulator
,
buildDirectory:
buildDir
,
codesign:
shouldCodesign
);
buildForDevice:
!
forSimulator
,
codesign:
shouldCodesign
);
if
(!
result
)
{
printError
(
'Encountered error while building for
$logTarget
.'
);
return
1
;
}
printStatus
(
'Built in
${buildDir.path}
.'
);
printStatus
(
'Built in
ios/.generated
.'
);
return
0
;
}
...
...
packages/flutter_tools/lib/src/ios/mac.dart
View file @
b930f0d4
...
...
@@ -97,7 +97,7 @@ bool _xcodeVersionCheckValid(int major, int minor) {
}
Future
<
bool
>
buildIOSXcodeProject
(
ApplicationPackage
app
,
{
bool
buildForDevice
,
Directory
buildDirectory
,
bool
codesign:
true
})
async
{
{
bool
buildForDevice
,
bool
codesign:
true
})
async
{
String
flutterProjectPath
=
Directory
.
current
.
path
;
if
(
xcodeProjectRequiresUpdate
())
{
...
...
@@ -132,15 +132,6 @@ Future<bool> buildIOSXcodeProject(ApplicationPackage app,
'ONLY_ACTIVE_ARCH=YES'
,
];
if
(
buildDirectory
!=
null
)
{
if
(!
buildDirectory
.
existsSync
())
{
printError
(
'The specified build directory
${buildDirectory.path}
does not exist'
);
return
false
;
}
commands
.
add
(
'TARGET_BUILD_DIR=
${buildDirectory.absolute.path}
'
);
}
if
(
buildForDevice
)
{
commands
.
addAll
(<
String
>[
'-sdk'
,
'iphoneos'
,
'-arch'
,
'arm64'
]);
if
(!
codesign
)
{
...
...
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