Search results for

LLDB crash

29,541 results found

Post

Replies

Boosts

Views

Activity

Reply to App crashes ONLY from App Store for SOME Users
For anyone facing a similar issue, we found that the crash logs were not helpful. They were both misleading and lacked the necessary detail to diagnose the problem. To uncover the actual cause, we had to connect a user's personal device to Xcode and inspect the console directly. This revealed the true error, which was not captured in the standard crash reports. There really needs to be a better mechanism for users to securely share these logs with developers in cases like this, without requiring direct access to their device. In our case, the console logs indicated that corrupted data stored in the Keychain was causing the app to crash when accessed. Importantly, this had nothing to do with the didFinishLaunchingWithOptions method, despite what the crash logs initially suggested.
3d
Reply to Icon composer icon contains alpha channel upload error
Same issue Xcode 26 (17A321), I've added FB20258577 with icon composer file and the inspector settings per layer. By blur do people mean Liquid Glass effects? Otherwise we have normal blend mode. The only way I was able to get a build uploaded today to fix my missing icon on the iPad target was to delete this file altogether. I have no idea why the iPhone target worked at all. Xcode Cloud was building for 2 hours today with no feedback. I finally archived myself and saw the validation errors with the red herring of it being in an asset catalog. So very tired but happy to have worked on betas again. I gave up on that when iOS 5 iCloud builds crashed every other launch and I had to revert three months of work. Not reverting Liquid Glass. It has issues, but it's very pretty when you give it a chance. It was inspiring to work with something beautiful amongst all the ugliness in the world these days.
3d
Mutating an array of model objects that is a child of a model object
Hi all, In my SwiftUI / SwiftData / Cloudkit app which is a series of lists, I have a model object called Project which contains an array of model objects called subprojects: final class Project1 { var name: String = @Relationship(deleteRule: .cascade, inverse: Subproject.project) var subprojects : [Subproject]? init(name: String) { self.name = name self.subprojects = [] } } The user will select a project from a list, which will generate a list of subprojects in another list, and if they select a subproject, it will generate a list categories and if the user selects a category it will generate another list of child objects owned by category and on and on. This is the pattern in my app, I'm constantly passing arrays of model objects that are the children of other model objects throughout the program, and I need the user to be able to add and remove things from them. My initial approach was to pass these arrays as bindings so that I'd be able to mutate them. This worked for the most part but there were two pro
5
0
130
4d
Reply to LLDB Cannot Load ODBC Driver Due to Sandbox Restrictions - How to Debug
[quote='800260021, danilabagroff, /thread/800260, /profile/danilabagroff'] I'm developing a macOS console application [/quote] “Console application” isn’t a term we use on Apple platforms. An application is, by definition, something the user double clicks in the Finder, shows up in the Dock, has a menu bar, and so on. I’m presuming that you’re building a command-line tool, something that the user runs from Terminal, or is run by the system as, say, a launchd daemon. Please let me know if that’s not the case. [quote='800260021, danilabagroff, /thread/800260, /profile/danilabagroff'] What is the recommended approach for debugging applications that need to load dynamic libraries? [/quote] There are a number of factors in play. I’ll come back to that later. But first I want to dig into your log message: [quote='800260021, danilabagroff, /thread/800260, /profile/danilabagroff'] Error Details When running the application through LLDB, I get this sandbox denial in the system log… logd_helper(587) [/quote] L
4d
Error accessing backing data on deleted item in detached task
I have been working on an app for the past few months, and one issue that I have encountered a few times is an error where quick subsequent deletions cause issues with detached tasks that are triggered from some user actions. Inside a Task.detached, I am building an isolated model context, querying for LineItems, then iterating over those items. The crash happens when accessing a Transaction property through a relationship. var byTransactionId: [UUID: [LineItem]] { return Dictionary(grouping: self) { item in item.transaction?.id ?? UUID() } } In this case, the transaction has been deleted, but the relationship existed when the fetch occurred, so the transaction value is non-nil. The crash occurs when accessing the id. This is the error. SwiftData/BackingData.swift:1035: Fatal error: This model instance was invalidated because its backing data could no longer be found the store. PersistentIdentifier(id: SwiftData.PersistentIdentifier.ID(backing: SwiftData.PersistentIdentifier.PersistentIdenti
0
0
84
4d
UIGlassEffect crashes
Hello there! I’m using UIGlassEffect in my iOS 26 app, which was just approved, but I’m seeing unexpected crashes: +[UIGlassEffect effectWithStyle:]: unrecognized selector sent to class. Could this be happening only for users running earlier betas? Was UIGlassEffect not available in Beta 1–3? I started preparing my update with Beta 4. Thank you!
Topic: UI Frameworks SubTopic: UIKit
1
0
101
5d
LLDB Cannot Load ODBC Driver Due to Sandbox Restrictions - How to Debug
I'm developing a macOS console application that uses ODBC to connect to PostgreSQL. The application works fine when run normally, but fails to load the ODBC driver when debugging with LLDB(under root works fine as well). Error Details When running the application through LLDB, I get this sandbox denial in the system log (via log stream): Error 0x0 0 0 kernel: (Sandbox) Sandbox: logd_helper(587) deny(1) file-read-data /opt/homebrew/lib/psqlodbcw.so The application cannot access the PostgreSQL ODBC driver located at /opt/homebrew/lib/psqlodbcw.so(also tried copy to /usr/local/lib/...). Environment macOS Version: Latest Sequoia LLDB: Using LLDB from Xcode 16.3 (/Applications/Xcode16.3.app/Contents/Developer/usr/bin/lldb) ODBC Driver: PostgreSQL ODBC driver installed via Homebrew Code Signing: Application is signed with Apple Development certificate What is the recommended approach for debugging applications that need to load dynamic libraries? Are there specific entit
1
0
144
5d
Reply to Can I Exporting a Developer ID PacketTunnelProvider Plugin?
OK, that’s definitely a sysex. Thanks for confirming. Given that, you should be able to export it for direct distribution with Developer ID signing. You’ll have to carefully work through the steps in Exporting a Developer ID Network Extension. Make sure that: The code is signed with the Developer ID variants of the com.apple.developer.networking.networkextension entitlement values. That entitlement claim is authorised by a Developer ID provisioning profile. Make sure to check both the container app and the embedded sysex. I also recommend that you add a ‘first light’ log point to your sysex so you can see whether it’s code runs at all. See Debugging a Network Extension Provider for more about that. And if you don’t get that log point, make sure to check for crash reports. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
6d
Reply to macOS 26 Launch Constraints
[quote='857868022, ski4funSonoma, /thread/799933?answerId=857868022#857868022, /profile/ski4funSonoma'] it seems to be the remedy to the helper/daemon crash. [/quote] That’s unlikely. Launch contraints typically cause things to fail rather than make things work. Hence the constraint. My advice here is that you remove anything you’ve done with regards launch constraints and then debug the original problem you were seeing. If that’s a crash and you post a crash report, I’d be happy to take a look. See Posting a Crash Report for advice on how to post a crash report. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General Tags:
6d
Reply to macOS 26 Launch Constraints
I'm only attempting to apply launch constraints because it seems to be the remedy to the helper/daemon crash. If there is a simpler remedy (like a new build setting I'm missing in XCode 26?) that would be even better. Mainly, I'm confused as to why building with XCode 26 and linking with macOS 26 would cause a crash with that code signing reason when previously it did not.
Topic: Code Signing SubTopic: General Tags:
6d
Reply to App mysteriously crashing in CFNetwork.LoaderQ queue
[quote='857581022, vojta.bohm, /thread/799368?answerId=857581022#857581022, /profile/vojta.bohm'] it's true by default on the shared URLSession which I use throughout the entire app. [/quote] Right. My suggestion was to set it to false, thereby enabling the new loading mode. If you see this crash with the new loading mode enabled, that’d be a useful datapoint. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
1w
Reply to ICEcard app closes when try to Face Scan via app
I downloaded Runner-2025-09-11-220305.ips and used Quick Look in the Finder to get the human readable version. Here’s what I see: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: TCC 0 This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data. This shows that your app is trying to access the microphone but has no NSMicrophoneUsageDescription property. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
1w