Conversation
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.
Why
We use TargetBridge between a Mini and several iMacs, with both wired and wireless paths. Remembering
service|ipcan lose the selected monitor after a network change; selecting the first discovered Receiver can also choose the wrong Mac.This is the small discovery/selection foundation for simpler pairing, independently rebased on
maint-3.5(fb45b5f). No SSH setup, automatic-login installer, control helper, or pairing wizard is included.Change
receiverIDBonjour TXT field.The UUID is a discovery/preference identifier, not authentication or encryption. This does not change transport or authorize remote control.
Validation
ruby TargetBridge-Sender/scripts/test_receiver_identity.rbpasses 30 XCTest cases against extracted production model/selection code plus the actual C persistence function in a unique disposable preferences domain. No application or capture/input permission prompt is launched.xcodebuild build-for-testingpassed on Apple Silicon.Review boundaries
The local Receiver build links local macOS 26 libraries; it is a compile check, not an Intel/macOS 11 distribution artifact. CI should cover both architectures. A first migration from a name-derived virtual-display identity to UUID may cause macOS to treat it as a new display; please review that migration policy before release.