Search results for

LLDB crash

29,562 results found

Post

Replies

Boosts

Views

Activity

Reply to URL in scene openURLContexts does not exist
Thanks for pointing out my error. Unfortunately I'm still getting the same results with the correct separator: (lldb) po FileManager.default.fileExists(atPath: /private/var/mobile/Library/Mobile Documents/) true (lldb) po FileManager.default.fileExists(atPath: /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs) false (lldb) po FileManager.default.fileExists(atPath: url.path) false To try to determine that this wasn't just a LLDB issue, I updated my code slightly: func scene(_ scene: UIScene, openURLContexts URLContexts: Set) { guard let url = URLContexts.first?.url else { os_log(URL in %@ is nil, #function) return } let fileExists = FileManager.default.fileExists(atPath: url.path) fileExists is false after AirDropping a file. And of course this is happening within the method where openURLContexts is passed as an argument, and therefore the URL should be valid. So I'm still stuck at the same place.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to App works fine in development but crashes in hardened runtime
[quote='791565021, thornhill_medical, /thread/791565, /profile/thornhill_medical'] After I package/codesign into a hardened runtime, I start seeing crashes at the moment when I try to execute the system calls to Docker. [/quote] I have some general advice on this front in my Resolving Hardened Runtime Incompatibilities post, part of the Resolving Trusted Execution Problems series. If you post a crash report, I might be able to offer more specific advice. 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
Jul ’25
App crashed when switching between Annotation Tab and Group Tab with TabView init(selection:content:)
This app will not crash when switching between these two tabs with TabView init(content:) import SwiftUI import SwiftData struct ContentView: View { @StateObject private var highlightManager = HighlightManager.shared @State private var selectedTab: Int = 0 var body: some View { TabView(selection: $selectedTab) { MapView() .tabItem { Label(Map, systemImage: map) } .tag(0) // Annotation Tab AnnotationList() .tabItem { Label(Annotation, systemImage: mappin.and.ellipse) } .tag(1) // Group Tab PeopleList() .tabItem { Label(Group, systemImage: person.and.person) } .tag(2) } .tutorialOverlay() // Apply the overlay to the root view .environmentObject(highlightManager) .toolbar { ToolbarItem(placement: .confirmationAction) { NavigationLink(Help) { NavigationStack { HelpView(selectedTab: selectedTab) } } } } } }
1
0
61
Jul ’25
keyboard crash
My app encountered a crash problem. The analysis stack seems to be related to the keyboard. The system keyboard code is unresponsive for a long time until it crash. The feature of the stack, BrowserEngineKit, seems to indicate the webview scene. Xcode debugging found that tap the input box on the webview page can reproduce the same stack as the crash, but the crash cannot be reproduced. I noticed a feedback link https://developer.apple.com/forums/thread/784718, which is the same as the top of the crash stack I encountered, so the root cause of the problem may be similar, caused by the locking operation related to UIKeyboardTaskQueue. Hope to give some suggestions. Thanks. crash log: Incident Identifier: 39E3AFE6-43B1-4DE6-AC2B-D62C5EC89752 CrashReporter Key: AppleMetricKit Hardware Model: iPhone17,2 Process: iAliexpress Code Type: ARM-64 Parent Process: ? [1] Date/Time: 2025-07-02 22:59:00 Launch Time: Unknown OS Version: iPhone OS 18.1.1 (22B91) Report Ve
3
0
173
6d
Why Large-Scale Model Scenes Cause Real Device Crashes
Is there any limitation in Vision Pro when loading scenes with large-scale models? Test Case: Asset: Composite USDA file containing 10 individual models (total triangles count: ~4.2M) Simulator: Loads and renders correctly Real Device: Loads asset successfully but failure during rendering phase: Environment abruptly dims System spontaneously reboots How can we resolve this issue? Below are excerpted logs preceding the crash: <<<< FigAudioSession(AV) >>>> audioSessionAVAudioSession_CopyMXSessionProperty signalled err=-19224 (kFigAudioSessionError_UnsupportedOperation) (getMXSessionProperty unsupported) at FigAudioSession_AVAudioSession.m:606 Attempted to add ornament: ; rotation: {{0, 0, 0}, 0}; opacity: 1.000000; canFollowUser: YES; effectiveOffset: {0, 0, 0}; presentingViewController: 0x0; billboardingBehavior: 0x0; scalingBehavior: 0x0; relativeToParent: NO; nonHeritableDepthDisplacement: 0.000000; order: 0.000000; _window._determinedSize: {0, 0}; _window: (null)> to nil
1
0
143
Jul ’25
Reply to Why Large-Scale Model Scenes Cause Real Device Crashes
Hello @Hernando9563, System spontaneously reboots Based on this description, it sounds like you have a model that can reliably crash a system process. Whenever this happens, you should file a bug report using Feedback Assistant. Optimize your 3D assets for spatial computing has some recommendations on optimizing your assets. 4.2M triangles is well over the recommended max of 500k triangles. -- Greg
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jul ’25
Using Processor Trace on Non-Xcode Built Binary
Hiya folks! I'm David and I work on rust-analyzer, which is a language server for Rust similar to sourcekit-lsp. I'm using the new Instruments profiling tooling functionality in Xcode 16.3 and Xcode 26 (Processor Trace and CPU Counters) to profile our trait solver/type checker. While I've been able to use the new CPU Counters instrument successfully (the CPU Bottleneck feature is incredible! Props to the team!), I've been unable to make use of the Processor Trace instrument. Instruments gives me the error message Processor Trace cannot profile this process without proper permissions. The diagnostic suggests adding the com.apple.security-get-task-allow entitlement to the code I'm trying to profile, or ensure that the build setting CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES is enabled in Xcode. Unfortunately, I don't know how I can add that entitlement to a self-signed binary produced by Cargo and I'm not using Xcode for somewhat obvious reasons. Here's some information about my setup: Instruments Version 26.0 (1
5
0
372
Jul ’25
Reply to The async/await API crashes in Xcode 16.3 and later
Thanks for running that test. This is a weird one. But I do have a new test for you: Make sure your project is checked into your version control system. You’ll want to revert your entire source base when you’re done with this test. Open the project in Xcode and remove all the source code and libraries. Add in the source code from the test project everything works. Run it and tap the Test button. The goal of this is to isolate build settings problems from source code problems. If the test code crashes, it’s likely a build settings issue. However, if the test code works, then your build settings are fine and there’s something about the code you deleted that’s triggering this. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jul ’25
Reply to Collection Reusable View Added Via Storyboard Not Registering with the Collection View
Apologies @BabyJ , I implemented the collectionView.register method which resulted in the cell dequeuing correctly, but my label in my header view was appearing nil which caused the application to crash. So I went back to your original answer and I updated the kind to UICollectionView.elementKindSectionHeader, and this worked, dequeuing the header successfully and supplying the label I added in storyboard in the reusable view. I believe that when implementing a collection reusable view in storyboard, I need to use UICollectionView.elementKindSectionHeader because this returns the object with the views in the storyboard.
Topic: UI Frameworks SubTopic: UIKit
Jul ’25
Collection Reusable View Added Via Storyboard Not Registering with the Collection View
When I set up a UICollectionReusableView cell in storyboard and try to dequeue a cell of this type, my app crashes with this error message: Steps I've gone through to add my collection reusable view in storyboard: I added a collection reusable view by dragging the item from the panel of objects to my collection view. I created a class called EmotionFiltersHeaderView which subclasses UICollectionReusableView that contains a reference to an IBOutlet var for the label I added to the reusable view (also in storyboard). I changed the class name of the reusable view in the storyboard to my custom class name, EmotionFiltersHeaderView. I added an identifier to the reusable view and called it emotionFiltersHeaderReusableView. I've included the header view in the boundary supplementary items property of the section where I'm adding the header view. This is my code: `let headerSize = NSCollectionLayoutSize(widthDimension: .fractionalWidth(1.0), heightDimension: .estimated(37.0)) let header = NSCollectionLayoutB
Topic: UI Frameworks SubTopic: UIKit
4
0
78
Jul ’25