Move flutter_assets to App.framework (#26630)
* move flutter_assets to App.framework * remove flutter_assets references from all pbxproj files checked in
This commit is contained in:
@@ -242,7 +242,7 @@ BuildApp() {
|
||||
--target="${target_path}" \
|
||||
--${build_mode} \
|
||||
--depfile="${build_dir}/snapshot_blob.bin.d" \
|
||||
--asset-dir="${derived_dir}/flutter_assets" \
|
||||
--asset-dir="${derived_dir}/App.framework/flutter_assets" \
|
||||
${precompilation_flag} \
|
||||
${local_engine_flag} \
|
||||
${track_widget_creation_flag}
|
||||
@@ -348,10 +348,6 @@ EmbedFlutterFrameworks() {
|
||||
|
||||
AssertExists "${flutter_ios_out_folder}"
|
||||
|
||||
# Copy the flutter_assets to the Application's resources.
|
||||
AssertExists "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
|
||||
RunCommand cp -r -- "${flutter_ios_out_folder}/flutter_assets" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
|
||||
|
||||
# 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"
|
||||
|
||||
Reference in New Issue
Block a user