v1.6.3 release: notarization-ready macos-ui-xcode template

Scaffolded macOS app now ships audio-input entitlement + mic usage string
under Hardened Runtime (unsandboxed for performance), and compiles under
Swift 6 (NoteController/AppDelegate marked @MainActor).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 08:38:41 -07:00
parent 9ec92277de
commit 5e6534a615
7 changed files with 149 additions and 27 deletions
+30
View File
@@ -7,6 +7,36 @@ functionality in a backward-compatible way.
---
## 1.6.3 — Notarization-ready `macos-ui-xcode` template
A patch release. Project-scaffolding fixes; no library API changes.
The `macos-ui-xcode` template (`lyrebird new MyApp --template macos-ui-xcode`)
now scaffolds a distributable, notarization-ready macOS performance app out of
the box:
- **Entitlements shipped and wired** — `<name>.entitlements` grants
`com.apple.security.device.audio-input` (wired via `CODE_SIGN_ENTITLEMENTS`
in both build configs), plus `NSMicrophoneUsageDescription` in `Info.plist`.
Under the Hardened Runtime (already enabled) the OS hard-kills the process the
moment the AUHAL input bus opens without these. They are harmless for
output-only synths — no permission prompt fires until input is actually used.
The app is deliberately **unsandboxed**: a live-performance app needs
unrestricted audio-device / file / MIDI / OSC access the App Sandbox gates.
- **Compiles under Swift 6** — fixed a latent actor-isolation error that kept
the generated project from building: `NoteController` (calls the engine's
`@MainActor add(_:)`) and `AppDelegate` (constructs the main-actor controller
and synth) are now `@MainActor`. Xcode app templates are excluded from the
`swift build` CI matrix, so this had never been compile-checked; it is now
verified end-to-end with `xcodebuild`.
A normal Lyrebird app needs no module-bundling: Lyrebird is statically linked
from SPM source. (The swiftmodule / `LyrebirdC` bundling in `LyrebirdScratch`,
added in 1.6.2, is unique to its runtime `swiftc` scratchpad.)
---
## 1.6.2 — Live Scratch: distributable / notarized app
A patch release. Live Scratch packaging only; no library API changes.