Skip to content

Commit 70bfb15

Browse files
committed
Iterate to get macOS CI/CD build to work
1 parent 29075e5 commit 70bfb15

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build_macos.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,19 @@ jobs:
117117
# Sign any frameworks in the bundle
118118
if [ -d "${APP_BUNDLE}/Contents/Frameworks" ]; then
119119
echo "Signing frameworks..."
120-
find "${APP_BUNDLE}/Contents/Frameworks" -type f \( -name "*.dylib" -o -name "*.framework" \) | while read -r framework; do
120+
# Sign .dylib files first
121+
find "${APP_BUNDLE}/Contents/Frameworks" -type f -name "*.dylib" | while read -r dylib; do
122+
echo " Signing dylib: ${dylib}"
121123
codesign --force --options runtime --timestamp \
122124
--sign "${MAC_SIGNING_IDENTITY}" \
123-
"${framework}" || true
125+
"${dylib}" || true
126+
done
127+
# Then sign framework bundles (these are directories)
128+
find "${APP_BUNDLE}/Contents/Frameworks" -type d -name "*.framework" | while read -r framework; do
129+
echo " Signing framework: ${framework}"
130+
codesign --force --options runtime --timestamp \
131+
--sign "${MAC_SIGNING_IDENTITY}" \
132+
"${framework}"
124133
done
125134
fi
126135

0 commit comments

Comments
 (0)