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:
Dan Field
2019-01-16 14:02:54 -08:00
committed by GitHub
parent 8f65ee9f53
commit d8db70af1a
26 changed files with 73 additions and 112 deletions

View File

@@ -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"