Skip to content

Commit ec7b134

Browse files
davutclaude
andcommitted
Ad-hoc sign release builds with microphone entitlement
The build script had CODE_SIGNING_ALLOWED=NO, so GitHub release builds were completely unsigned. Without a code signature, macOS TCC cannot persist microphone permission grants, causing repeated prompts on every Start Reading click. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 79345a9 commit ec7b134

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Wirdi/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ find "$ARM_APP" -type f | while read -r arm_file; do
6565
fi
6666
done
6767

68+
echo "🔏 Ad-hoc signing with entitlements…"
69+
codesign --force --deep --sign "-" \
70+
--entitlements "$PROJECT_DIR/Wirdi/Wirdi.entitlements" \
71+
--options runtime \
72+
"$OUTPUT_APP"
73+
6874
echo "📦 Creating DMG…"
6975
rm -f "$DMG_PATH"
7076

0 commit comments

Comments
 (0)