mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Support Xcode builds in project dirs with spaces (#8709)
Use line-based iteration in place of word-based iteration over the framework directories, to avoid breaking on spaces.
This commit is contained in:
parent
60c0c3d323
commit
1a2e6f3389
|
@ -191,7 +191,7 @@ ThinAppFrameworks() {
|
|||
local frameworks_dir="${app_path}/Frameworks"
|
||||
|
||||
[[ -d "$frameworks_dir" ]] || return 0
|
||||
for framework_dir in $(find "${app_path}" -type d -name "*.framework"); do
|
||||
find "${app_path}" -type d -name "*.framework" | while read framework_dir; do
|
||||
ThinFramework "$framework_dir" "$ARCHS"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue