Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run (#46928)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
a15a81be21
commit
e54e301d50
@@ -341,7 +341,6 @@ ThinFramework() {
|
||||
local framework_dir="$1"
|
||||
shift
|
||||
|
||||
local plist_path="${framework_dir}/Info.plist"
|
||||
local executable="$(GetFrameworkExecutablePath "${framework_dir}")"
|
||||
LipoExecutable "${executable}" "$@"
|
||||
}
|
||||
@@ -374,7 +373,7 @@ EmbedFlutterFrameworks() {
|
||||
|
||||
# Embed App.framework from Flutter into the app (after creating the Frameworks directory
|
||||
# if it doesn't already exist).
|
||||
local xcode_frameworks_dir=${BUILT_PRODUCTS_DIR}"/"${PRODUCT_NAME}".app/Frameworks"
|
||||
local xcode_frameworks_dir=${BUILT_PRODUCTS_DIR}"/"${FRAMEWORKS_FOLDER_PATH}
|
||||
RunCommand mkdir -p -- "${xcode_frameworks_dir}"
|
||||
RunCommand cp -Rv -- "${flutter_ios_out_folder}/App.framework" "${xcode_frameworks_dir}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user