Post

Replies

Boosts

Views

Activity

Reply to SwiftUI toolbar in MacOS 15 bug ?
Still not fixed in macOS 15.3 (24D60). FB15513599 import SwiftUI struct ContentView: View { @State private var showEditItem = false var body: some View { VStack { VStack { Text("Instructions to reproduce the crash") .font(.title) .padding() Text(""" 1. Click on "Toggle Item" 2. In the menu go to File > New Window 3. In new window, click on "Toggle Item" """) } .padding() Button { showEditItem.toggle() } label: { Text("Toggle Item") } } .padding() .toolbar(id: "main") { ToolbarItem(id: "new") { Button { } label: { Text("New…") } } if showEditItem { ToolbarItem(id: "edit") { Button { } label: { Text("Edit…") } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25
Reply to SwiftUI toolbar with IDs crash since macOS 15
Still experiencing this issue with macOS 15.3 Beta 3 (build 24D5055b). I guess Apple’s focus has shifted to promoting TV shows and generating bogus news summaries, rather than addressing bugs in features that have been part of macOS since its inception 24 years ago. So much for “the modern way to build apps is SwiftUI” slide in a recent WWDC video...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25
Reply to Swift compiler crash with Xcode 16 beta 5
Here's an excerpt of the crash: Unhandled coercion: (existential_type (protocol_composition_type (bound_generic_class_type decl="Swift.(file).PartialKeyPath" (struct_type decl="PartialKeyPath.(file).RemoteComputer@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:74:8")) (protocol_type decl="Swift.(file).Sendable"))) (bound_generic_class_type decl="Swift.(file).PartialKeyPath" (struct_type decl="PartialKeyPath.(file).RemoteComputer@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:74:8")) Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. ... 1. Apple Swift version 6.0 (swiftlang-6.0.0.7.6 clang-1600.0.24.1) 2. Compiling with effective version 5.10 3. While evaluating request TypeCheckSourceFileRequest(source_file "/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift") 4. While evaluating request TypeCheckFunctionBodyRequest(PartialKeyPath.(file).CSItemOrder.init(comparator:)@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:61:5) 5. While type-checking statement at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:61:64 - line:70:5] RangeText="{ switch comparator.keyPath { case \RemoteComputer.readableName: self.init(type: .readableName, order: comparator.order) case \RemoteComputer.lastConnectionDate: self.init(type: .lastConnectionDate, order: comparator.order) case \RemoteComputer.numberOfConnections: self.init(type: .numberOfConnections, order: comparator.order) default: print("Unsupported keyPath: \(comparator.keyPath)") throw ItemOrderError.unsupportedKeyPath } " 6. While type-checking statement at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:9 - line:69:9] RangeText="switch comparator.keyPath { case \RemoteComputer.readableName: self.init(type: .readableName, order: comparator.order) case \RemoteComputer.lastConnectionDate: self.init(type: .lastConnectionDate, order: comparator.order) case \RemoteComputer.numberOfConnections: self.init(type: .numberOfConnections, order: comparator.order) default: print("Unsupported keyPath: \(comparator.keyPath)") throw ItemOrderError.unsupportedKeyPath " 7. While type-checking expression at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:16 - line:62:27] RangeText="comparator." 8. While type-checking-target starting at /Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:27 FB14697971
Aug ’24
Reply to SwiftUI toolbar with IDs crash since macOS 15
Still an issue with Xcode Version 16.3 beta 2 (16E5121h) and macOS 15.4 Beta (24E5222f).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to SwiftUI toolbar in MacOS 15 bug ?
Still an issue with Xcode Version 16.3 beta 2 (16E5121h) and macOS 15.4 Beta (24E5222f).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to SwiftUI toolbar in MacOS 15 bug ?
Still not fixed in macOS 15.3 (24D60). FB15513599 import SwiftUI struct ContentView: View { @State private var showEditItem = false var body: some View { VStack { VStack { Text("Instructions to reproduce the crash") .font(.title) .padding() Text(""" 1. Click on "Toggle Item" 2. In the menu go to File > New Window 3. In new window, click on "Toggle Item" """) } .padding() Button { showEditItem.toggle() } label: { Text("Toggle Item") } } .padding() .toolbar(id: "main") { ToolbarItem(id: "new") { Button { } label: { Text("New…") } } if showEditItem { ToolbarItem(id: "edit") { Button { } label: { Text("Edit…") } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to SwiftUI toolbar with IDs crash since macOS 15
Still not resolved in 15.3RC (24D60). Like the SwiftUI engineers, I’m giving up. I’ll leave it to users who want customizable toolbars to contact Apple instead.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to SwiftUI toolbar with IDs crash since macOS 15
Still experiencing this issue with macOS 15.3 Beta 3 (build 24D5055b). I guess Apple’s focus has shifted to promoting TV shows and generating bogus news summaries, rather than addressing bugs in features that have been part of macOS since its inception 24 years ago. So much for “the modern way to build apps is SwiftUI” slide in a recent WWDC video...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Disable Scribble in UITextView
I am having this issue as well. In my case, the software keyboard is automatically dismissed event if I add a UIScribbleInteraction to my UITextField
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Curved/panorama window in visionOS 2?
@cecilia_hollins Just following up to see if you were able to package your solution. I’m confident it would be a valuable resource for visionOS developers. Thanks!
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to ShareLink + FileRepresentation: Can't Save to Files
I have this issue as well. Has anyone been able to figure this out?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Product.SubscriptionInfo.Status is empty despite having valid subscription.
I’m starting to suspect the issue is related to Apple IDs associated with developer accounts, as that’s the only common factor I’ve identified so far.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Product.SubscriptionInfo.Status is empty despite having valid subscription.
Apple folks: FB15345379
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Product.SubscriptionInfo.status(for:) is sometimes empty even though a subscription has been registered
I see the same issue for a handful of users.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Has iOS 18 changed the threshold for decoding base64 into ASCII code?
This has bitten me as well. I used .ascii to detect if a SSH key uses a passphrase or not. Thanks, I guess?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Swift compiler crash with Xcode 16 beta 5
Here's an excerpt of the crash: Unhandled coercion: (existential_type (protocol_composition_type (bound_generic_class_type decl="Swift.(file).PartialKeyPath" (struct_type decl="PartialKeyPath.(file).RemoteComputer@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:74:8")) (protocol_type decl="Swift.(file).Sendable"))) (bound_generic_class_type decl="Swift.(file).PartialKeyPath" (struct_type decl="PartialKeyPath.(file).RemoteComputer@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:74:8")) Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace. ... 1. Apple Swift version 6.0 (swiftlang-6.0.0.7.6 clang-1600.0.24.1) 2. Compiling with effective version 5.10 3. While evaluating request TypeCheckSourceFileRequest(source_file "/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift") 4. While evaluating request TypeCheckFunctionBodyRequest(PartialKeyPath.(file).CSItemOrder.init(comparator:)@/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:61:5) 5. While type-checking statement at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:61:64 - line:70:5] RangeText="{ switch comparator.keyPath { case \RemoteComputer.readableName: self.init(type: .readableName, order: comparator.order) case \RemoteComputer.lastConnectionDate: self.init(type: .lastConnectionDate, order: comparator.order) case \RemoteComputer.numberOfConnections: self.init(type: .numberOfConnections, order: comparator.order) default: print("Unsupported keyPath: \(comparator.keyPath)") throw ItemOrderError.unsupportedKeyPath } " 6. While type-checking statement at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:9 - line:69:9] RangeText="switch comparator.keyPath { case \RemoteComputer.readableName: self.init(type: .readableName, order: comparator.order) case \RemoteComputer.lastConnectionDate: self.init(type: .lastConnectionDate, order: comparator.order) case \RemoteComputer.numberOfConnections: self.init(type: .numberOfConnections, order: comparator.order) default: print("Unsupported keyPath: \(comparator.keyPath)") throw ItemOrderError.unsupportedKeyPath " 7. While type-checking expression at [/Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:16 - line:62:27] RangeText="comparator." 8. While type-checking-target starting at /Users/me/Downloads/PartialKeyPath/PartialKeyPath/ContentView.swift:62:27 FB14697971
Replies
Boosts
Views
Activity
Aug ’24
Reply to Define main window in visionOS
Apple folks: FB13792217
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Define main window in visionOS
Were you ever able to find a workaround for this issue?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24