Skip to content

Add INFOPLIST_KEY_NSViewGestureRecognizerIsExclusive build setting#1448

Merged
rbenegal merged 3 commits into
swiftlang:release/6.4.xfrom
willpaceley:willpaceley/nsviewgesturerecognizerisexclusive-build-setting
Jun 11, 2026
Merged

Add INFOPLIST_KEY_NSViewGestureRecognizerIsExclusive build setting#1448
rbenegal merged 3 commits into
swiftlang:release/6.4.xfrom
willpaceley:willpaceley/nsviewgesturerecognizerisexclusive-build-setting

Conversation

@willpaceley

@willpaceley willpaceley commented Jun 9, 2026

Copy link
Copy Markdown

Exposes the NSViewGestureRecognizerIsExclusive Info.plist key as an INFOPLIST_KEY_* build setting alongside the other macOS Info.plist keys. The build setting's description links to the key's official documentation using the standard Info.plist documentation URL format.

Updates the documentation exception list in SpecRegistryTests. I removed several keys that are now documented and added the still-undocumented WKSupportsLiveActivityLaunchAttributeTypes.

This PR also fixes the URL reachability check (CHECK_INFOPLIST_KEY_URL_REACHABILITY), which recorded reachable URLs as unreachable and aborted on the first failure; it now reports only URLs that fail to return a 200 status code as originally intended. The infoPlistKeyConfigurations() is now passing and green with my changes.

Screenshot 2026-06-10 at 11 17 58 AM

Adds the build setting so AppKit project templates can set the NSViewGestureRecognizerIsExclusive Info.plist key through GENERATE_INFOPLIST_FILE.
@willpaceley

Copy link
Copy Markdown
Author

@swift-ci test

Will Paceley added 2 commits June 10, 2026 10:14
WKSupportsLiveActivityLaunchAttributeTypes is not yet documented, so add it to the URL-reachability exception list in infoPlistKeyConfigurations. NSFocusStatusUsageDescription, NSSystemExtensionUsageDescription, NSVoIPUsageDescription, and OSBundleUsageDescription are now documented, so remove them from the list.
When CHECK_INFOPLIST_KEY_URL_REACHABILITY is set, the check collected the URLs that returned HTTP 200 and recorded those as unreachable, and threw on the first non-200 so the remaining URLs were never checked. Collect only the URLs that fail to return HTTP 200, without aborting on the first failure, so the test reports the URLs that are actually unreachable.
@willpaceley

Copy link
Copy Markdown
Author

@swift-ci test

@rbenegal rbenegal merged commit a353ec9 into swiftlang:release/6.4.x Jun 11, 2026
108 of 126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants