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
bfa98221
Unverified
Commit
bfa98221
authored
Oct 03, 2018
by
Michael Goderbauer
Committed by
GitHub
Oct 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide App.framework.dSYM from Spotlight (#22540)
parent
99a22938
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
xcode_backend.sh
packages/flutter_tools/bin/xcode_backend.sh
+7
-1
No files found.
packages/flutter_tools/bin/xcode_backend.sh
View file @
bfa98221
...
...
@@ -146,7 +146,13 @@ BuildApp() {
RunCommand
cp
-r
--
"
${
app_framework
}
"
"
${
derived_dir
}
"
StreamOutput
" ├─Generating dSYM file..."
RunCommand xcrun dsymutil
-o
"
${
build_dir
}
/aot/App.dSYM"
"
${
app_framework
}
/App"
# Xcode calls `symbols` during app store upload, which uses Spotlight to
# find dSYM files for embedded frameworks. When it finds the dSYM file for
# `App.framework` it throws an error, which aborts the app store upload.
# To avoid this, we place the dSYM files in a folder ending with ".noindex",
# which hides it from Spotlight, https://github.com/flutter/flutter/issues/22560.
mkdir
"
${
build_dir
}
/dSYMs.noindex"
RunCommand xcrun dsymutil
-o
"
${
build_dir
}
/dSYMs.noindex/App.framework.dSYM"
"
${
app_framework
}
/App"
if
[[
$?
-ne
0
]]
;
then
EchoError
"Failed to generate debug symbols (dSYM) file for
${
app_framework
}
/App."
exit
-1
...
...
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