From 3205a27985de71aa6e6ffc7fbbd6f50cfcc3eed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E7=BE=BD?= Date: Wed, 3 Jun 2026 20:25:01 +0800 Subject: [PATCH] fix(macos): add dylibbundler search paths and debug output --- .github/workflows/cd.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8feebf770..a244f85fa 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,6 @@ jobs: with: msystem: UCRT64 update: true - cache: true install: >- mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja @@ -129,7 +128,19 @@ jobs: dylibbundler -od -b \ -x build/app/Olive.app/Contents/MacOS/Olive \ -d build/app/Olive.app/Contents/Frameworks/ \ - -p @executable_path/../Frameworks + -p @executable_path/../Frameworks \ + -s /opt/homebrew/lib \ + -s /usr/local/lib \ + -s "${PWD}/otio-install/lib" + + - name: Debug bundle contents + run: | + echo "=== otool -L ===" + otool -L build/app/Olive.app/Contents/MacOS/Olive + echo "=== Frameworks dir ===" + ls -la build/app/Olive.app/Contents/Frameworks/ || echo "(empty)" + echo "=== App bundle size ===" + du -sh build/app/Olive.app - name: Create DMG run: |