Find AppFrameworkInfo.plist relative to Flutter app (#18358)

This works better for an add2app scenario.
This commit is contained in:
Sigurd Meldgaard 2018-06-12 11:04:49 +02:00 committed by GitHub
parent b760ce0f5d
commit d1aaa406ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ BuildApp() {
-install_name '@rpath/App.framework/App' \
-o "${derived_dir}/App.framework/App" -)"
fi
RunCommand cp -- "${derived_dir}/AppFrameworkInfo.plist" "${derived_dir}/App.framework/Info.plist"
RunCommand cp -- "${project_path}/ios/Flutter/AppFrameworkInfo.plist" "${derived_dir}/App.framework/Info.plist"
local precompilation_flag=""
if [[ "$CURRENT_ARCH" != "x86_64" ]] && [[ "$build_mode" != "debug" ]]; then