File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ v1.3.6] — 2026-04-20
4+
5+ ### Fixed
6+ - ** ` build.sh ` now embeds entitlements in local ad-hoc builds** — ` codesign ` in ` build.sh `
7+ was signing without ` --entitlements Entitlements.plist ` , so locally-built ` .app ` bundles
8+ never had any embedded entitlements (including ` com.apple.security.device.audio-input ` ).
9+ CI was correct (it already passed ` --entitlements ` ). Local builds now embed the same
10+ entitlements as CI-signed DMGs, making mic and other entitlement-gated features testable
11+ without a full CI run. (reviewer follow-up from #50 )
12+ - ** Stale comment in ` LaunchBehaviorTests ` ** — the warm-up regression history comment still
13+ referenced ` default(for:) ` and omitted the v1.3.5 entitlement root cause. Updated to
14+ accurately describe the fix history through v1.3.5. (reviewer follow-up from #50 )
15+
316## [ v1.3.5] — 2026-04-20
417
518### Fixed
Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ final class LaunchBehaviorTests: XCTestCase {
2020 /// even when TCC status is .authorized and the WKUIDelegate returns .grant.
2121 ///
2222 /// **History:** Deleted in v1.3.2 (it was part of the proactive prompt, which was rightly removed).
23- /// Mic broke for all users (v1.3.2, v1.3.3). Restored as a silent warm-up in v1.3.4 (PR #49).
23+ /// Mic broke for all users (v1.3.2–v1.3.4). Root cause found in v1.3.5: Entitlements.plist used
24+ /// `com.apple.security.device.microphone` (invalid) instead of `com.apple.security.device.audio-input`.
25+ /// warm-up now uses `AVCaptureDevice.requestAccess` (contacts tccd) not `default(for:)` (IOKit only).
26+ /// Fixed in v1.3.5 (PR #50).
2427 ///
2528 /// **If you're tempted to remove it:** don't. If you think it's redundant, check the above.
2629 /// The TCC status being .authorized is necessary but not sufficient — the host AVFoundation
Original file line number Diff line number Diff line change @@ -101,9 +101,11 @@ cat > "$APP_BUNDLE/Contents/Info.plist" << PLIST
101101PLIST
102102
103103echo " → Signing (ad-hoc)..."
104- # Sign the framework first, then the app
104+ # Sign the framework first, then the app bundle.
105+ # --entitlements embeds the plist so local builds match CI-signed DMGs.
106+ # Note: ad-hoc signing (sign -) does not verify entitlements; use CI for notarized builds.
105107codesign --force --deep --sign - " $APP_BUNDLE /Contents/Frameworks/Sparkle.framework"
106- codesign --force --deep --sign - " $APP_BUNDLE "
108+ codesign --force --deep --sign - --entitlements Entitlements.plist " $APP_BUNDLE "
107109
108110echo " → Installing to Applications..."
109111rm -rf " /Applications/$APP_BUNDLE "
You can’t perform that action at this time.
0 commit comments