Avoid thinning frameworks in iOS extensions (#65198)
This commit is contained in:
@@ -271,11 +271,10 @@ ThinFramework() {
|
||||
}
|
||||
|
||||
ThinAppFrameworks() {
|
||||
local app_path="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
|
||||
local frameworks_dir="${app_path}/Frameworks"
|
||||
local xcode_frameworks_dir="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
[[ -d "$frameworks_dir" ]] || return 0
|
||||
find "${app_path}" -type d -name "*.framework" | while read framework_dir; do
|
||||
[[ -d "${xcode_frameworks_dir}" ]] || return 0
|
||||
find "${xcode_frameworks_dir}" -type d -name "*.framework" | while read framework_dir; do
|
||||
ThinFramework "$framework_dir" "$ARCHS"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user