Unverified Commit 03a4f4be authored by Dan Field's avatar Dan Field Committed by GitHub

Quote framework_dir in xcode_backend.sh (#24591)

parent 6bcad0f9
...@@ -121,12 +121,12 @@ BuildApp() { ...@@ -121,12 +121,12 @@ BuildApp() {
if [[ -e "${project_path}/.ios" ]]; then if [[ -e "${project_path}/.ios" ]]; then
RunCommand rm -rf -- "${derived_dir}/engine" RunCommand rm -rf -- "${derived_dir}/engine"
mkdir "${derived_dir}/engine" mkdir "${derived_dir}/engine"
RunCommand cp -r -- ${flutter_podspec} "${derived_dir}/engine" RunCommand cp -r -- "${flutter_podspec}" "${derived_dir}/engine"
RunCommand cp -r -- ${flutter_framework} "${derived_dir}/engine" RunCommand cp -r -- "${flutter_framework}" "${derived_dir}/engine"
RunCommand find "${derived_dir}/engine/Flutter.framework" -type f -exec chmod a-w "{}" \; RunCommand find "${derived_dir}/engine/Flutter.framework" -type f -exec chmod a-w "{}" \;
else else
RunCommand rm -rf -- "${derived_dir}/Flutter.framework" RunCommand rm -rf -- "${derived_dir}/Flutter.framework"
RunCommand cp -r -- ${flutter_framework} "${derived_dir}" RunCommand cp -r -- "${flutter_framework}" "${derived_dir}"
RunCommand find "${derived_dir}/Flutter.framework" -type f -exec chmod a-w "{}" \; RunCommand find "${derived_dir}/Flutter.framework" -type f -exec chmod a-w "{}" \;
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment