From 25cc5bd447b7bce5348f72e42f682545ef0c7b57 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 8 Aug 2026 17:21:02 -0400 Subject: [PATCH] add logging to lipo shim --- scripts/lipo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lipo b/scripts/lipo index b27b8f2..a8c4226 100755 --- a/scripts/lipo +++ b/scripts/lipo @@ -1,12 +1,16 @@ #!/bin/sh +echo "LIPO SHIM: $@" >&2 + for arg in "$@"; do case "$arg" in - *.framework/*) + */*.framework/*) fw_dir="${arg%.framework/*}.framework" + echo "LIPO SHIM: chmod $fw_dir" >&2 chmod -R u+w "$fw_dir" 2>/dev/null ;; *.lipo) + echo "LIPO SHIM: chmod $(dirname "$arg")" >&2 chmod u+w "$(dirname "$arg")" 2>/dev/null ;; esac