Search results for

LLDB crash

29,546 results found

Post

Replies

Boosts

Views

Activity

Using SwiftData with a local and CloudKit backed configuration at the same time
I'm trying to set up an application using SwiftData to have a number of models backed by a local datastore that's not synced to CloudKit, and another set of models that is. I was able to achieve this previously with Core Data using multiple NSPersistentStoreDescription instances. The set up code looks something like: do { let fullSchema = Schema([ UnsyncedModel.self, SyncedModel.self, ]) let localSchema = Schema([UnsyncedModel.self]) let localConfig = ModelConfiguration(schema: localSchema, cloudKitDatabase: .none) let remoteSchema = Schema([SyncedModel.self]) let remoteConfig = ModelConfiguration(schema: remoteSchema, cloudKitDatabase: .automatic) container = try ModelContainer(for: fullSchema, configurations: localConfig, remoteConfig) } catch { fatalError(Failed to configure SwiftData container.) } However, it doesn't seem to work as expected. If I remove the synced/remote schema and configuration then everything works fine, but the moment I add in the remote schema and configuration I get various differen
0
0
194
1w
Foundation Models framework dyld symbol errors after macOS 26 Beta 2 - LanguageModelSession constructor missing
Foundation Models framework worked perfectly on macOS 26 Beta 2, but starting from Beta 3 and continuing through Beta 6 (latest), I get dyld symbol errors even with the exact code from Apple's documentation. Environment: macOS 26.0 Beta 6 (25A5351b) Xcode 26 Beta 6 M4 Max MacBook Pro Apple Intelligence enabled and downloaded Error Details: dyld[Process]: Symbol not found: _$s16FoundationModels20LanguageModelSessionC5model10guardrails5tools12instructionsAcA06SystemcD0C_AC10GuardrailsVSayAA4Tool_pGAA12InstructionsVSgtcfC Referenced from: /path/to/app.debug.dylib Expected in: /System/Library/Frameworks/FoundationModels.framework/Versions/A/FoundationModels Code Used (Exact from Documentation): import FoundationModels // This worked on Beta 2, crashes on Beta 3+ let model = SystemLanguageModel.default let session = LanguageModelSession(model: model) let response = try await session.respond(to: Hello) What I've Verified: FoundationModels.framework exists in /System/Library/Frameworks/ Framework is properl
1
0
593
1w
Creating Swift Package with binaryTarget that has dependencies
How can you distribute an XCFramework via Swift Package Manager when it has dependencies on other Swift packages? We accomplished this with CocoaPods in order to distribute our closed source SDK that has dependencies, but need to migrate to SPM. Note none of the types from the dependencies are used as part of our module’s public interface - usage is purely internal. I’ve made a lot of progress following these steps for a simple example: Create Framework Project Create a new iOS Framework project in Xcode and name it WallpaperKit In the project settings select the target and verify in Build Settings that Build Libraries for Distribution is Yes then set Skip Install to No Create a new UIViewController subclass, name it WallpaperPreviewViewController, make it public, and add some functionality to it to show a UIImageView Add a new Package Dependency in the project settings, for this example we’ll use https://github.com/onevcat/Kingfisher, and specify exact version 8.5.0 Add internal import Kingfisher and use it
0
0
101
1w
KVO crashes in older OS-Versions not replicable in Sequoia
Greetings, With MacOS 15 Sequoia, Apple updated key-value-observations in such a way, that an unremoved observation by a now deallocated object will no longer cause an exception, when the observed object triggers said observation. While this is fundamentally a positive change, the issue comes with the fact, that this change affects systems based on the version of their operating system and not the version of the operating system of the build system. Many of our customers use old operating system versions and old hardware - meaning they can't easily update. Since we need to use up to date Xcode versions to develop for newer systems, our developers tend to have rather new OS versions. This means, that we are increasingly facing bugs which only happen in customer systems but not in most developer (or QA) systems. Currently, we still can use earlier OS versions with Xcode to fix these bugs, but once the used Xcode versions no longer support MacOS 14 or below this will become a major hurdle. Are there known soluti
3
0
495
1w
Reply to The new navigationLinkIndicatorVisibility modifier crashes on < iOS 26
Seeing this crash in beta 8 (Xcode beta 7). Symbol not found: _$s7SwiftUI17EnvironmentValuesV33_navigationIndicatorVisibilityABIAA0G0OvpMV Referenced from: <35BAAD44-14F4-3B6C-8568-3E8B57A526ED> My call site: var allMerchantsSection: some View { Section { ForEach(model.paginatedMerchants.items) { merchant in NavigationLink(value: MerchantDestination.merchant(merchant)) { CardCell( image: .remote(url: merchant.info.bannerUrl), text: merchant.info.merchantName, description: nil, chipText: nil ) .navigationLinkIndicatorVisibility(.hidden) } .listRowBackground(Color.backgroundPrimary) .listRowSeparator(.hidden) .onAppear { if model.canLoadMore, merchant == model.paginatedMerchants.items.last { model.paginatedMerchants.currentPage += 1 } } } } header: { Text(All Merchants) } } made a feedback report: FB20108722
Topic: UI Frameworks SubTopic: SwiftUI
1w
Reply to App mysteriously crashing in CFNetwork.LoaderQ queue
Assuming that your crash reports can be trusted [1], the key failure here is in _dispatch_source_set_runloop_timer_4CF, which definitely rings some bells. Check out my response on this thread. IMPORTANT That response suggest a potential workaround, and I’d love to hear back from you as to whether that helps or not. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Your crash reports make it clear that you have third-party crash reporter installed (to wit, in your firs crash report, frame 2 of thread 10), and it’s not uncommon for third-party crash reports to mess up the Apple crash reporter. I talk about that issue in great detail in Implementing Your Own Crash Reporter. However, in this case I think it’s reasonable to trust the crash report because the crash is so familiar.
Topic: Programming Languages SubTopic: Swift Tags:
2w
Reply to ICEcard app closes when try to Face Scan via app
You’ve post a lot of links but none of them lead to a crash report )-: I’m looking for a file with either the .crash or the .ips extension. For advice on how to get that, follow the links in Posting a Crash Report. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
2w
App mysteriously crashing in CFNetwork.LoaderQ queue
I’m stuck with repeated production crashes in my SwiftUI app and I can’t make sense of the traces on my own. The symbolicated reports show the same pattern: Crash on com.apple.CFNetwork.LoaderQ with EXC_BAD_ACCESS / PAC failure Always deep in CFNetwork, most often in URLConnectionLoader::loadWithWhatToDo(NSURLRequest*, _CFCachedURLResponse const*, long, URLConnectionLoader::WhatToDo) No frames from my code, no sign of AuthManager or tokens. What I’ve tried: Enabled Address Sanitizer, Malloc Scribble, Guard Malloc, Zombies. Set CFNETWORK_DIAGNOSTICS=3 and collected Console logs. Stress-tested the app (rapid typing, filter switching, background/foreground, poor network with Network Link Conditioner). Could not reproduce the crash locally. So far: Logs show unrelated performance faults (I/O on main thread, CLLocationManager delegate), but no obvious CFNetwork misuse. My suspicion is a URLSession lifetime or delegate/auth-challenge race, but I can’t confirm because I can’t trigger it. S
4
0
1.4k
2w
Reply to Issue with App Crashing After Download from App Store
Thank you very much for your feedback and suggestions. As an additional note, my development environment is Visual Studio 2022, and the app was developed as a multi-platform application for iOS and Android. I am not entirely sure how I resolved the issue, but with the latest update it no longer occurs. The app now starts in the App Store environment just as it does in the TestFlight environment and no longer crashes. I made two changes during the process: re-downloaded all certificates (Distribution, Developer, Provisioning Profile) and added them again on my Mac. re-integrated all additional packages. After these steps, I uploaded the updated version to the TestFlight environment and subsequently submitted it for review in the App Store.
2w
Reply to Using raise in GCD can cause timing issues with the signal mechanism.
Sorry I didn’t reply sooner. I was notified of your earlier posts )-: [quote='850943022, SilverFruity, /thread/794589?answerId=850943022#850943022, /profile/SilverFruity'] calling raise to throw SIGABRT does not block the thread under GCD. [/quote] By “under GCD” I presume you mean “when using a Dispatch signal event source to handle the signal”. If so, then, yes, that’s expected. Dispatch signal event sources are very much like kqueues, in that they are delivered asynchronously. Thus if you raise a signal by calling raise (or kill with your own pid) then the thread calling raise may well return before the signal is delivered to the queue. If you’re building your own crash reporter — which, as I noted above, is something I specifically discourage — and you choose to implement in-process crash reporting via signals — again, not something I recommend — then you have to use a signal handler rather than a Dispatch signal event source. [quote='851087022, SilverFruity, /thread/794589?answerId=8510
2w
Reply to ICEcard app closes when try to Face Scan via app
[quote='856508022, eSpace-ICEcard, /thread/799043?answerId=856508022#856508022, /profile/eSpace-ICEcard'] reference clip link. [/quote] When I open that link I get a page showing no photos and the message “Album is empty”. [quote='856508022, eSpace-ICEcard, /thread/799043?answerId=856508022#856508022, /profile/eSpace-ICEcard'] app closes. [/quote] You mean that the app crashes, right? If so, does that generate a crash report? And if it does, please post that here. See Posting a Crash Report for advice on how to find and post crash reports. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
2w
Reply to [iOS 26][SDK 26] Application never received providerDidBegin(_:) delegate
Yes as mentioned earlier, CallKit gets initialised is in Main queue (the mentioned code init is happening in main queue) [quote='856460022, DTS Engineer, /thread/797563?answerId=856460022#856460022'] That's the queue you're targeting, but is that code also running on the main queue? [/quote] As you suggested,we have now initialised PushKit on the main queue. We are currently monitoring the issue since it is not consistently reproducible. Since the issue is not consistent we are monitoring this issue. I'm still not entirely convinced that initialising PushKit on a secondary queue might led the root cause of this problem. As per Feedback analysis: The user launched the application at [07/31 15:04:45:858]*******{}BEGIN LOGGING{}***** Here user has put app to background [07/31 15:20:41:695][ 0x105147e80]: [OS-PLT] -[AppDelegate applicationDidEnterBackground:] and then received an VoIP APNS and it got crashed, [07/31 15:20:55:639][ 0x122c53680] [Pushnotif] [] : [OS-CCF] Enter -[PushNotificationManager pus
Topic: App & System Services SubTopic: General Tags:
2w
Reply to Issue with App Crashing After Download from App Store
Thank you for the post and detailed description of the issue. I have checked both versions of the app on the App Store and TestFlight. Both versions have the same version 4.0.1 and the same build number 340. Therefore, both versions appear to be the same app. However, the crash files indicate that there is a part in your code that calls abort. Unfortunately, since it is your code and symbols, I cannot pinpoint the exact location of the crash at this time. It appears that frame 8 is the culprit. I recommend downloading the app from TestFlight and using your Xcode with your symbols to identify the crash or abort. I am happy to assist you in loading your app symbols to diagnose the issue. 8 dbMobil_DevExpress 0x106d60b88 Please let me know how I can help. However, I believe that if you use Xcode, connect the device, and debug the app, you will be able to resolve the issue quickly. I hope this information is helpful to you. Albert Pascual
  Worldwide Developer Relations.
2w