Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

Replacement for ToolbarItems with .bottomBar placement in iOS 26 TabView?
Prior to iOS 26, ToolbarItems with .bottomBar placement were convenient for tab-specific frequent actions. With iOS 26’s new tab layering now obscuring such ToolbarItems, it’s unclear whether .tabViewBottomAccessory is the intended replacement or if another pattern (like persistent floating buttons) is encouraged instead. What’s the recommended way to support quick, tab-specific actions under the new system? I’ve tried conditionally rendering a .tabViewBottomAccessory based on the active tab, but this causes a crash, which I’ve reported as FB18479195.
4
0
267
Jul ’25
Reply to Crashes on iOS 18.x
Please post a full Apple crash report. See Posting a Crash Report for advice on how to do that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Jul ’25
Change to SwiftData ModelContainer causing crashes
I have some models in my app: [SDPlanBrief.self, SDAirport.self, SDChart.self, SDIndividualRunwayAirport.self, SDLocationBrief.self] SDLocationBrief has a @Relationship with SDChart When I went live with my app I didn't have a versioned schema, but quickly had to change that as I needed to add items to my SDPlanBrief Model. The first versioned schema I made included only the model that I had made a change to. static var models: [any PersistentModel.Type] { [SDPlanBrief.self] } I had made zero changes to my model container and the whole time, and it was working fine. The migration worked well and this is what I was using: .modelContainer(for: [SDAirport.self, SDIndividualRunwayAirport.self, SDLocationBrief.self, SDChart.self, SDPlanBrief.self]) I then saw that to do this all properly, I should actually include ALL of my @Models in the versioned schema: enum AllSwiftDataSchemaV3: VersionedSchema { static var models: [any PersistentModel.Type] { [SDPlanBrief.self, SDAirport.self, SDChart.self, SDIndividualRunway
6
0
210
Jul ’25
NavigationStack $path cleared on dealloc?
Hello, This code has a NavigationSplitView, whose sidebar is a List and its detail contains a NavigationStack. It is controlled by two @Observable properties, a selection and a path. The path shown in the detail depends upon the selection in the List. If I programmatically change the selection and path, the path will be set, but via SwiftUI backtraces (pasted below), it will clear out my path. This makes my code lose state. What am I doing wrong? Is this a bug? I'm using Xcode16 running against the iOS 18 simulator (although this also happens with iOS17). To reproduce, Launch the App, Note that you are on the first selection. Tap Nav Path: Path: second-100. You'll go to the second selection, but the path will be empty. If you place a breakpoint when the $path is cleared, you'll see it is being cleared by SwiftUI. Backtrace when the path is emptied: (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1 * frame #0: 0x00000001043295c0 DoubleNav.debug.dylib`Navigation.path.
Topic: UI Frameworks SubTopic: SwiftUI
2
0
367
Jul ’25
iOS 26 beta - Crash using QLPreviewController (QuickLook) in simulator.
Using the iOS 26 beta simulator, I am experiencing a crash using the QLPreviewController. This is easily reproduced using a small sample app and a sample excel file in the bundle. It does work in prior Xcode 16.4 and simulators (18.5). I didn't find any mention of this in Xcode 26 or iOS 26 release notes but I could have missed something. I don't have a spare device to update to iOS 26 and try on a real device so it may just be a simulator issue? Any feedback would be helpful. Thanks. Error: QuickLook/QLHostRemoteViewModel.swift:37: Fatal error: No extensions could be found matching '_AppExtensionQuery(extensionPointIdentifier: com.apple.quicklook.UIExtensionPoint, predicate: nil, hostAuditToken: nil, extensionPoint: nil, allowsDuplicates: true)' Sample view controller... import UIKit import QuickLook class ViewController: UIViewController, QLPreviewControllerDataSource { var excelFileURL: URL! override func viewDidLoad() { super.viewDidLoad() // Load the Excel file (example: from bundle) if let url
4
0
483
Jun ’25
New iPadOS 26 beta4 crash in `UISplitViewController`
Sample Project In iPadOS 26 beta4, when a UISplitViewController transitions to compact layout and proposes the secondary view controller, a crash occurs: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Layout requested for visible navigation bar, ; layer = > delegate=0x102826600, when the top item belongs to a different navigation bar. topItem = title='Detail' style=navigator rightBarButtonItems=0x600000011e10, navigation bar = ; layer = > delegate=0x102826000, possibly from a client attempt to nest wrapped navigation controllers.' When we show the primary view, there is no crash. Similarly, there is no crash on beta-3. To reproduce the crash in the demo project: Launch the project on an iPad. Try the Demo Tap List-Detail Pattern To trigger the crash, select any of the list items and switch the app to a compact layout. The crash occurs because the app will attempt to propose the secondary view controller. T
Topic: UI Frameworks SubTopic: UIKit
1
0
174
Jul ’25
.commandsRemoved() does not work for the first scene.
.commandsRemoved() does not work for the Window and WindowGroup scenes if it’s the primary group (first one). Then I tried to add new menu using the code .commands { CommandGroup(replacing: .newItem) { Button(New Document) { newDocument { TestDocument() } } .keyboardShortcut(n) } But app crashed with error Expected subclass override The test app is a document-based app, with a welcome window using the new Window scene.
1
0
997
Jul ’25
Reply to Background App Refresh
I fear you’re getting distracted by the Operation side of this. Operation isn’t required by this API. Its presence in the docs is an artefact of history, in that those docs were written before Swift concurrency was a thing. If you were doing this today, you’d ignore Operation and just use Swift concurrency. Similarly, the docs are within the UIKit, but that’s also not required by this API, and if you were doing it today you’d use SwiftUI. So, here’s how I created an app that manages an app refresh task using Swift concurrency and SwiftUI: Using Xcode 16.4, I created a new project from the iOS > App template, choosing SwiftUI for my interface. I switched the Swift Language Version build setting to Swift 6. If you’re gonna do Swift concurrency, you might as well have the compiler enforce the rules! I created an AppModel type to hold the state of my app: import Foundation import Observation @Observable @MainActor final class AppModel { private(set) var lastUpdate: Date? = nil private var isUpdating: Bool = fa
Jul ’25
Reply to App Store code signing show "Beta Profile"
Sorry I didn’t respond sooner; I wasn’t notified of your reply )-: Thanks for the crash report. This suggests that you don’t have a code signing problems. Rather, the presence of the Last Exception Backtrace section indicates that your app is up and running and then threw a language exception. The backtrace on that exception is interesting: Last Exception Backtrace: 0 CoreFoundation … __exceptionPreprocess + 164 1 libobjc.A.dylib … objc_exception_throw + 88 2 munsblog … 0x1029c0000 + 33407840 3 munsblog … 0x1029c0000 + 35102404 4 UIKitCore … -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320 Frame 4 indicates that UIKit is calling one of your app delegate methods. Frame 3 is your app delegate method implementation. It calls some other method in your code, frame 2, which throws a language exception. To make progress with this you’ll need to uncover the identity of your code in frames 3 and 2. For advice on how to do that, see Adding identifiable symbol names to a crash
Jul ’25
Reply to Crash when deallocating NEAppProxyFlow
That’s a mighty interesting crash you have there. I have an idea as what might be happening here, but I’d like to confirm some things. Please post a full crash report, per the advice in Posting a Crash Report. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jul ’25