Hey everyone, Just wanted to share a critical issue we’ve encountered while testing our app on iOS 18 simulators and devices using Xcode 26 Beta 3: Crash Details We're seeing the following fatal exception during launch: NSInvalidUnarchiveOperationException Could not instantiate class named _TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView_ because no class named _TtGC5UIKit17UICoreHostingViewVCS_21ToolbarVisualProvider8RootView_ was found... The crash originates from Storyboards/XIBs that include a UIToolbar. It appears UIKit is referencing an internal SwiftUI-related class (UICoreHostingView), which isn't present at runtime — leading to immediate crashes. Affected: Apps using UIToolbar in Storyboards or XIBs Running on iOS 18 (Simulators or Devices) and below Built using Xcode 26 Beta 3 CrashLog: Fatal Exception: NSInvalidUnarchiveOperationException 0 CoreFoundation 0x11a21c __exceptionPreprocess 1 libobjc.A.dylib 0x31abc objc_exception_throw 2 CoreFoundation 0x178
Search results for
LLDB crash
29,559 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The first crash report you posted looks to be associated with a bug in UIKit - note that your app crashed because of an uncaught ObjC exception -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: 0x20eaf0f68), and that the Last Exception Backtrace shows that -[__NSDictionaryM setObject:forKey:] was called by a chain of UIKit methods. I expect this is resolved in the latest iOS 26 beta. See here for general guidance on interpreting crash reports generated because of uncaught exceptions: https://developer.apple.com/documentation/xcode/addressing-language-exception-crashes
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
If your widget extension is crashing at launch, the device console should be logging something. It is also possible that it is failing to launch at all, if it looks like it is crashing before it gets to any of your code. So, what do you see in the logs after the publishing event record? I know the logs are extremely busy, but if you filter for your Bundle ID, you might see a record of an issue logged by the system.
Topic:
App & System Services
SubTopic:
Notifications
Tags:
[quote='850527022, Costique, /thread/794052?answerId=850527022#850527022, /profile/Costique'] all we have is crash reports from the App Store in Xcode. [/quote] Hmmm. This is using the Xcode organiser, right? I thought that had a way to get a JSON crash report, but I don’t have the details. I’m researching that. The reason why a JSON crash report is so helpful is that I can feed it into internal tools to look for related crashes. [quote='850527022, Costique, /thread/794052?answerId=850527022#850527022, /profile/Costique'] What surprises me a bit is Role: Non UI in all but one crash instance though the app does not use any background modes. [/quote] Well, as we say in the docs: This field is generally not helpful when you analyze a crash report. (-: Even if you don’t do anything to opt in to background execution, it’s still possible to run in the background. The most obvious case of this is that the system gives you a short amount of background execution ti
Topic:
App & System Services
SubTopic:
General
Tags:
OK, let’s take a step back: What are you trying to do with signals? It’s very hard to use signals correctly. That especially true if you’re doing this in a process that uses Apple frameworks. For example, the code you posted is illegal because it calls printf from an async signal handler, and printf is not an async signal safe function. Most folks who ask about signal handlers are trying to implement a crash reporter. That’s impossible to do well. I talk about it in great depth in Implementing Your Own Crash Reporter. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
There are limits to how much I can help you with your third-party tooling; if you need help with those, I recommend that you raise this via the support channel for those tools. Still, I wanted to offer some insight into the overall issue here. Both of your crash reports suggest that you have a memory management issue. You’re crashing deep in Apple libraries as they try to work with Objective-C objects. I have a couple of suggestions on that front. First, you’re encountering this problem on TestFlight but it’s unlikely to be TestFlight related. I suspect that it’s actually tied to your Debug vs Release build configuration. When you test at your desk you use the Debug build configuration, but when you submit to the App Store you use the Release build configuration. It’s very common to see memory management problems like this show up only in the Release configuration. You can tease these apart using the Xcode organiser. See Isolating Code Signing Problems from Build Problems. You can also tweak
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Hello. I have a project that loads a page using jquery 3.6.3 in WKWebView. When I try this on iOS developer beta 4, WKWebView malfunctions and the page does not load properly. If I remove jquery, the page loads. Even if I update jquery to the latest version, the problem remains the same. This problem did not occur until developer beta 3. The log is as follows. 0x12107c170 - [PID=994] WebProcessProxy::didClose: (web process 0 crash) 0x12107c170 - [PID=994] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 Specified target process 994 does not exist UserInfo={NSLocalizedFailureReason=Specified target process 994 does not exist}> 0x121138300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=994, error: (null) 0x132e00018 - [pageProxyID=9, webPageID=10, PID=994] WebPageProxy::processDidTerminate: (pid 994), reason=Crash 0x13
Hi Eskimo, Thank you for confirming it is not a Code Signing issue. I have spent the last few days to symbolicate a crash report. I found an open-source app MacSymbolicator that requires *.dSYM, which is available in .Net MAUI. Obviously, I no longer have it for the version I submitted to App Store. I must remember to keep it in future submissions. After creating a new build and uploading it to TestFlight, the app launches successfully. I guess my efforts to debug the app for the past two months have removed the bug. Also, I realized I cannot use xcrun to sideload the app signed using a Distribution Provisioning Profile. I must use TestFlight even though it is slow and cumbersome. The app has been successfully updated in both App Store and Mac App Store. Thank you very much. @DTS Engineer
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
In our current code, the properties of XIB controls are added with weak. However, we encounter some crashes due to accessing wild pointers of controls when a memory warning occurs. Colleagues from our architecture team said that they had specifically consulted Apple's technical staff before, and the reply was that strong should be used for modification, as it would make the memory more stable. They also mentioned that the statement in the official documentation is incorrect and hasn't been updated. May I ask whether strong or weak should be used for XIB control properties? What is your latest standard answer?
Does anyone have this issue of Xcode 26 Beta 4 crashing on closing of their project? Currently running on macOS 26 Beta 4 on a MacBook Air M2 with 16GB of ram. Each time i close a project, Xcode 26 Beta 4 will crash. The window pops up to send a report. Opening Xcode 26 Beta 4 will reopen the previous project. If you have multiple projects opened, all these projects will always reopen.
Thank you for opening FB18299246. I'm following up on that internally — I can also reproduce the crash using your project when using Xcode 26 beta 4 and the iOS 18.4 simulator. — Ed Ford, DTS Engineer
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I'm currently working on building a custom HomeKit Accessory using the HomeKit ADK v6.3 and running the Remote.OpenSSL sample on a Raspberry Pi 4 (64-bit Ubuntu / Linux Kernel 6.1.21-v8+). I'm trying to pair the accessory via the MFi HomeKit ADK pairing process. The details of most MFi specifications are protected by NDA, so your question cannot be answered in detail on this forum. If you're an MFi licensee, then the MFi program has its own support process, the details of which you can find in the Developer Technical Support section of the MFi Licensing Handbook, which you'll find on the MFI Portal. Please submit your MFi-specific question(s) using that process. However, I will provide one hint/suggestion here: The application (Remote.OpenSSL) launches correctly, and the accessory server starts as expected, broadcasting via mDNS. However, when I attempt to initiate pairing via iOS (or simulate pairing), the following error occurs: Fault fatal error - HAPPlatformAccessorySetupLoadSetupInfo @ PAL/Linux/HAPPlatf
Topic:
App & System Services
SubTopic:
Hardware
Tags:
So, I spent some time debugging and gathering more information and I realized that after the app becomes active we are calling a JS function stored as a JSValue in our native side. I guessed the JSValue may had been deallocating and thus the crash. So, I reviewed the documentation and decided to use and store a JSManagedValue instead. It seems that the crash is not happening anymore, but the JSManagedValue::value is deallocated even more often than before, making value to be nil and forcing us to skip the call. I'm not trying to understand why the JSValue is not retained properly: We are calling addManagedReference:withOwner: to retain the object manually. As owner, we are providing a native object that has visibility in the JS environment and it's in fact stored in window.something after it's created. At no point we call removeManagedReference:withOwner: to release the object It's always happening after the app becomes active again, so I guess something gets deallocated while the app is the
Topic:
Safari & Web
SubTopic:
General
Tags:
Hello, re: calls to setParameter to dynamically update the material on very rapid frequency. The mesh is locked (no more updates) before the calls to setParameter. this seems like it could be race condition or other update issue (drawable starvation?) related to the very rapid update frequency. Try reducing the update frequency to see if that resolves the issue. Also, send us a bug report with a sample project that causes the crash so we can investigate further.
Topic:
Spatial Computing
SubTopic:
Reality Composer Pro
Tags:
Unfortunately, we have never seen these crashes ourselves, so all we have is crash reports from the App Store in Xcode. What surprises me a bit is Role: Non UI in all but one crash instance though the app does not use any background modes. We do use NSURLSessionWebSocketTask, though.
Topic:
App & System Services
SubTopic:
General
Tags: