mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix mkdir call to not fail if dir exists (#22622)
This commit is contained in:
parent
d43155695d
commit
07fc9f6442
@ -151,7 +151,7 @@ BuildApp() {
|
||||
# `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 mkdir -p -- "${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."
|
||||
|
Loading…
Reference in New Issue
Block a user