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
9a83314c
Unverified
Commit
9a83314c
authored
Jan 11, 2021
by
Jenn Magder
Committed by
GitHub
Jan 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate dSYM files during iOS archive (#73630)
parent
f7e7035a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
ios_content_validation_test.dart
dev/devicelab/bin/tasks/ios_content_validation_test.dart
+11
-1
mac.dart
packages/flutter_tools/lib/src/ios/mac.dart
+2
-1
build_ipa_test.dart
...er_tools/test/commands.shard/hermetic/build_ipa_test.dart
+0
-1
No files found.
dev/devicelab/bin/tasks/ios_content_validation_test.dart
View file @
9a83314c
...
@@ -20,14 +20,24 @@ Future<void> main() async {
...
@@ -20,14 +20,24 @@ Future<void> main() async {
]);
]);
});
});
checkDirectoryExists
(
path
.
join
(
final
String
archivePath
=
path
.
join
(
flutterProject
.
rootPath
,
flutterProject
.
rootPath
,
'build'
,
'build'
,
'ios'
,
'ios'
,
'archive'
,
'archive'
,
'Runner.xcarchive'
,
'Runner.xcarchive'
,
);
checkDirectoryExists
(
path
.
join
(
archivePath
,
'Products'
,
'Products'
,
));
));
checkDirectoryExists
(
path
.
join
(
archivePath
,
'dSYMs'
,
'Runner.app.dSYM'
,
));
});
});
return
TaskResult
.
success
(
null
);
return
TaskResult
.
success
(
null
);
...
...
packages/flutter_tools/lib/src/ios/mac.dart
View file @
9a83314c
...
@@ -223,6 +223,7 @@ Future<XcodeBuildResult> buildXcodeProject({
...
@@ -223,6 +223,7 @@ Future<XcodeBuildResult> buildXcodeProject({
buildCommands
.
addAll
(<
String
>[
buildCommands
.
addAll
(<
String
>[
'-workspace'
,
globals
.
fs
.
path
.
basename
(
entity
.
path
),
'-workspace'
,
globals
.
fs
.
path
.
basename
(
entity
.
path
),
'-scheme'
,
scheme
,
'-scheme'
,
scheme
,
if
(
buildAction
!=
XcodeBuildAction
.
archive
)
// dSYM files aren't copied to the archive if BUILD_DIR is set.
'BUILD_DIR=
${globals.fs.path.absolute(getIosBuildDirectory())}
'
,
'BUILD_DIR=
${globals.fs.path.absolute(getIosBuildDirectory())}
'
,
]);
]);
break
;
break
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_ipa_test.dart
View file @
9a83314c
...
@@ -92,7 +92,6 @@ void main() {
...
@@ -92,7 +92,6 @@ void main() {
'-quiet'
,
'-quiet'
,
'-workspace'
,
'Runner.xcworkspace'
,
'-workspace'
,
'Runner.xcworkspace'
,
'-scheme'
,
'Runner'
,
'-scheme'
,
'Runner'
,
'BUILD_DIR=/build/ios'
,
'-sdk'
,
'iphoneos'
,
'-sdk'
,
'iphoneos'
,
'FLUTTER_SUPPRESS_ANALYTICS=true'
,
'FLUTTER_SUPPRESS_ANALYTICS=true'
,
'COMPILER_INDEX_STORE_ENABLE=NO'
,
'COMPILER_INDEX_STORE_ENABLE=NO'
,
...
...
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