Skip to content

Commit 9612ef4

Browse files
committed
macos: codesign: also sign embedded dylibs if any
1 parent df891c2 commit 9612ef4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

ci/osx-package.deploy.sh

+10-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,21 @@ cd "$SRC_PATH/install/"
99

1010
# Codesign
1111
sign_app() {
12+
local entitlements=${1}
13+
local folder=${2}
14+
15+
find "$folder" -name '*.dylib' \
16+
-exec \
17+
codesign --force --timestamp --sign "ossia.io" {} \
18+
\;
19+
1220
codesign \
13-
--entitlements "$1" \
21+
--entitlements "$entitlements" \
1422
--force \
1523
--timestamp \
1624
--options=runtime \
1725
--sign "ossia.io" \
18-
"$2"
26+
"$folder"
1927
}
2028

2129
echo " === code signing === "
@@ -31,7 +39,6 @@ else
3139
fi
3240
fi
3341

34-
3542
echo "... vstpuppet "
3643
sign_app "$SRC_PATH/src/vstpuppet/entitlements.plist" "ossia score.app/Contents/MacOS/ossia-score-vstpuppet.app"
3744

0 commit comments

Comments
 (0)