chore: rm app_links
This commit is contained in:
@@ -20,7 +20,5 @@
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>13.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
PODS:
|
||||
- app_links (6.4.1):
|
||||
- Flutter
|
||||
- camera_avfoundation (0.0.1):
|
||||
- Flutter
|
||||
- file_picker (0.0.1):
|
||||
@@ -32,7 +30,6 @@ PODS:
|
||||
- Flutter
|
||||
|
||||
DEPENDENCIES:
|
||||
- app_links (from `.symlinks/plugins/app_links/ios`)
|
||||
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
|
||||
- file_picker (from `.symlinks/plugins/file_picker/ios`)
|
||||
- Flutter (from `Flutter`)
|
||||
@@ -49,8 +46,6 @@ DEPENDENCIES:
|
||||
- watch_connectivity (from `.symlinks/plugins/watch_connectivity/ios`)
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
app_links:
|
||||
:path: ".symlinks/plugins/app_links/ios"
|
||||
camera_avfoundation:
|
||||
:path: ".symlinks/plugins/camera_avfoundation/ios"
|
||||
file_picker:
|
||||
@@ -81,7 +76,6 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/watch_connectivity/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
app_links: 3dbc685f76b1693c66a6d9dd1e9ab6f73d97dc0a
|
||||
camera_avfoundation: 5675ca25298b6f81fa0a325188e7df62cc217741
|
||||
file_picker: fb04e739ae6239a76ce1f571863a196a922c87d4
|
||||
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
E33A3E4A2A626DD0009744AB /* Embed Foundation Extensions */,
|
||||
E39515D52AB5AD64003602C1 /* Embed Watch Content */,
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||
F3A15C782F6E1D8B00A1C001 /* Generate Missing Framework dSYMs */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@@ -504,6 +505,20 @@
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
||||
};
|
||||
F3A15C782F6E1D8B00A1C001 /* Generate Missing Framework dSYMs */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Generate Missing Framework dSYMs";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"${PROJECT_DIR}/scripts/generate_missing_framework_dsyms.sh\"\n";
|
||||
};
|
||||
AA0A1FF2F3246F84EB0D91F2 /* [CP] Embed Pods Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
|
||||
58
ios/scripts/generate_missing_framework_dsyms.sh
Normal file
58
ios/scripts/generate_missing_framework_dsyms.sh
Normal file
@@ -0,0 +1,58 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
if [ "${ACTION:-}" != "install" ] && [ -z "${ARCHIVE_PATH:-}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
APP_BUNDLE_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
|
||||
|
||||
if [ ! -d "${APP_BUNDLE_PATH}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
DSYM_ROOT="${DWARF_DSYM_FOLDER_PATH:-}"
|
||||
if [ -n "${ARCHIVE_PATH:-}" ]; then
|
||||
DSYM_ROOT="${ARCHIVE_PATH}/dSYMs"
|
||||
fi
|
||||
|
||||
if [ -z "${DSYM_ROOT}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p "${DSYM_ROOT}"
|
||||
|
||||
uuid_list() {
|
||||
xcrun dwarfdump --uuid "$1" 2>/dev/null | awk '{ print $2 }' | sort
|
||||
}
|
||||
|
||||
find "${APP_BUNDLE_PATH}" -type d -path '*/Frameworks/*.framework' -print0 | while IFS= read -r -d '' framework_path; do
|
||||
info_plist="${framework_path}/Info.plist"
|
||||
binary_name=''
|
||||
if [ -f "${info_plist}" ]; then
|
||||
binary_name=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleExecutable' "${info_plist}" 2>/dev/null || true)
|
||||
fi
|
||||
if [ -z "${binary_name}" ]; then
|
||||
binary_name="$(basename "${framework_path}" .framework)"
|
||||
fi
|
||||
|
||||
binary_path="${framework_path}/${binary_name}"
|
||||
if [ ! -f "${binary_path}" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
dsym_path="${DSYM_ROOT}/$(basename "${framework_path}").dSYM"
|
||||
dsym_binary_path="${dsym_path}/Contents/Resources/DWARF/${binary_name}"
|
||||
binary_uuids="$(uuid_list "${binary_path}")"
|
||||
|
||||
if [ -n "${binary_uuids}" ] && [ -f "${dsym_binary_path}" ]; then
|
||||
dsym_uuids="$(uuid_list "${dsym_binary_path}")"
|
||||
if [ "${binary_uuids}" = "${dsym_uuids}" ]; then
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -rf "${dsym_path}"
|
||||
xcrun dsymutil "${binary_path}" -o "${dsym_path}"
|
||||
done
|
||||
Reference in New Issue
Block a user