You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Xcode 26.3: Native UI Shell vertical-bar toolbars do not compile #267
func toolbar<Content>(@ViewBuilder content:()->Content)-> some Viewfunc toolbar<Content>(@ToolbarContentBuildercontent:()->Content)->someView
toolbar { } with if let + ToolbarItem + ForEach is inferred as ViewBuilder, then ToolbarItem does not conform to View. Forcing ToolbarContentBuilder still fails: ForEach is not CustomizableToolbarContent once a ToolbarItem is a sibling.
Independent of Native UI Shell swap handoff (#266). It blocks a local demo/device build of main.
Change
nativeShellToolbar helper that calls toolbar(content:) as ToolbarContentBuilder
ForEach of buttons insideToolbarItemGroup (that closure is ViewBuilder)
if let backinsideToolbarItem's view, not as a sibling of ForEach
One file, ~28 / ~28. ToolbarSpacer between groups and .axisBehavior(.verticalPreferred) on those items are dropped with that shape; they can come back if a 26.3-safe form exists.
Activity