From 17aa34b95f04a1a312d3c585a13b172849322395 Mon Sep 17 00:00:00 2001 From: nimbold <11913706+nimbold@users.noreply.github.com> Date: Tue, 9 Jun 2026 09:19:55 +0330 Subject: [PATCH] fix: resolve ambiguous bundle format error in yt-dlp codesign --- CHANGELOG.md | 5 +++++ Scripts/create_app_bundle.sh | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f229e7b..62fe3c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.5] - 2026-06-09 + +### Fixes +- Fix GitHub Actions build failure caused by an ambiguous bundle format when attempting to codesign `yt-dlp`'s embedded PyInstaller `Python.framework`. + ## [0.6.4] - 2026-06-09 ### New Features diff --git a/Scripts/create_app_bundle.sh b/Scripts/create_app_bundle.sh index 1ebba9c..bef3b70 100755 --- a/Scripts/create_app_bundle.sh +++ b/Scripts/create_app_bundle.sh @@ -197,10 +197,6 @@ if command -v codesign &> /dev/null; then sign_mach_o_file "$executable_path" done < <(find "$RESOURCES_DIR" -type f -print0) - while IFS= read -r -d '' bundle_path; do - sign_path "$bundle_path" - done < <(find "$RESOURCES_DIR" \( -name "*.xpc" -o -name "*.framework" \) -type d -depth -print0) - sign_path "$MACOS_DIR/$APP_NAME" sign_path "$APP_DIR" codesign --verify --deep --verbose=2 "$APP_DIR" || true