fix(apple/tvOS): system-style slide for in-stack pushes (swiftui-navigation-transitions)
ci / rust (push) Has been cancelled

SwiftUI's NavigationStack on tvOS animates pushes as a bare crossfade with no public
customization — the system Settings app slides. The home stack now applies
.customNavigationTransition(.slide) on tvOS via davdroman/swiftui-navigation-transitions
(MIT, tvOS 13+), covering the top-level routes AND the settings pickers' drill-ins.

The dependency is referenced by the Xcode PROJECT only and linked solely by the
Punktfunk-tvOS target: its manifest (no macOS platform declared vs 10.15 deps) breaks
SwiftPM whole-graph validation for plain `swift build`, and the #if os(tvOS) import
never compiles in the macOS-only SwiftPM dev shell anyway. Headless builds need
xcodebuild -skipMacroValidation (the lib pulls Swift macro packages; in the Xcode UI
it's a one-time Trust & Enable prompt).

iOS/macOS keep their untouched system navigation animations.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 14:12:04 +02:00
parent f01b07a973
commit 92933ef46b
4 changed files with 91 additions and 0 deletions
@@ -0,0 +1,60 @@
{
"originHash" : "5d17a752eb57d190a90cbd663718ff44034b24fe0ae1baafea7677db2d49da6f",
"pins" : [
{
"identity" : "objc-runtime-tools",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/objc-runtime-tools",
"state" : {
"revision" : "04715d0c98d366d7000be32c0c81b4ba87001910",
"version" : "0.5.1"
}
},
{
"identity" : "swift-once-macro",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/swift-once-macro",
"state" : {
"revision" : "5f9d4e77cd95335fe14b44064fcf7f96e8ed56a0",
"version" : "1.1.1"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax",
"state" : {
"revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1",
"version" : "603.0.2"
}
},
{
"identity" : "swiftui-introspect",
"kind" : "remoteSourceControl",
"location" : "https://github.com/siteline/swiftui-introspect",
"state" : {
"revision" : "aead9358a55f635d62d885aeb9105752c0213aec",
"version" : "27.0.0-beta.1"
}
},
{
"identity" : "swiftui-navigation-transitions",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davdroman/swiftui-navigation-transitions",
"state" : {
"revision" : "78287a0adf2ed35c40dc6445d0c7fc6fba236076",
"version" : "0.18.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "cb281f343fd953280336dcbd3822cdf47c182f5b",
"version" : "1.10.0"
}
}
],
"version" : 3
}