Repository navigation
Debug preview: -previewInterfaceName names the silent interface, for screenshots - #101
Merged
Merged
Conversation
Skeyelab
force-pushed
the
preview-interface-name
branch
from
December 3, 2026 07:03
26c6859 to
6911861
Compare
…screenshots
The App Store frames read a real interface's name ("X18/XR18 · 18 out ·
48 kHz"), not "Preview interface (silent)". Debug only: DebugPreview is
under #if DEBUG, and Release never makes the fake interface.
Assisted-by: Claude Code:claude-opus-5-5
Skeyelab
force-pushed
the
preview-interface-name
branch
from
December 3, 2026 07:49
6911861 to
a4e181e
Compare
Skeyelab
enabled auto-merge (squash)
December 3, 2026 07:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of three stacked PRs for the App Store screenshots (on #99). Plan:
docs/app-store/listing.md, open question 8 (c).What
-previewInterfaceName <name>, a Debug launch argument. It names the silent fake interface that-previewOutputsmakes, so the header can readX18/XR18 · 18 out · 48 kHz(the name an XR18 gives over USB) and notPreview interface (silent). With no argument, or a blank one, the name stays as it was.PreviewInterface.name(asked:)in Playback, where it can be tested. OnlyApp/DebugPreview.swiftcalls it, and that whole file is under#if DEBUG. Release doesn't change: it never makes the fake interface.Tests
PreviewInterfaceTests(3). Red first:PreviewInterfaceTests.swift:10:17: error: cannot find 'PreviewInterface' in scope. After the type existed, all three passed on their first run.swift test: all green.xcodegen generate, then the unsigned Debug iOS Simulator build: succeeded.Checked only by tests and the Simulator build. The frames in the next PR use the argument.
🤖 Generated with Claude Code