Post

Replies

Boosts

Views

Activity

NSPersistentStoreCoordinator crash (routeHeavyweightBlock?)
Hello, I recently published an app on the App Store. I see a crash log from one of my users, but don't understand the reason CoreData crashed. It was simply saving a single object, and all the properties of it are optional. I am unable to reproduce the crash, and in the over 8 moths of development before release, I did not encounter this type of error. Please provide assistance, or where I could do some more research. I included part of the crash log below. Thank you very much. Hardware Model: iPhone15,4 Process: Proaneer Version: 1.0.3 (50) AppStoreTools: 15A240a AppVariant: 1:iPhone15,4:17 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Date/Time: 2023-10-01 09:14:05.6888 -0400 Launch Time: 2023-10-01 09:08:34.4421 -0400 OS Version: iPhone OS 17.0.2 (21A350) Release Type: User Baseband Version: 1.00.03 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: Proaneer Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x19a4565e0 __exceptionPreprocess + 164 (NSException.m:249) 1 libobjc.A.dylib 0x192767c00 objc_exception_throw + 60 (objc-exception.mm:356) 2 CoreData 0x1a2609410 -[NSPersistentStoreCoordinator _introspectLastErrorAndThrow] + 120 (NSPersistentStoreCoordinator.m:0) 3 CoreData 0x1a24f3fbc __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke.541 + 680 (NSPersistentStoreCoordinator.m:0) 4 CoreData 0x1a24f3c2c -[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 264 (NSPersistentStoreCoordinator.m:641) 5 CoreData 0x1a24d05b4 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1048 (NSPersistentStoreCoordinator.m:2768) 6 CoreData 0x1a24d05d8 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1084 (NSPersistentStoreCoordinator.m:3425) 7 CoreData 0x1a24c1e84 -[NSManagedObjectContext save:] + 972 (NSManagedObjectContext.m:1625) 8 Proaneer 0x102f2e268 ContactListViewModel.saveContact(functionName:functionAction:count:) + 96 (ContactListViewModel + CRUD Ext..swift:151) 9 Proaneer 0x102f2e1e4 ContactListViewModel.createContact() + 2496 (ContactListViewModel + CRUD Ext..swift:50) 10 Proaneer 0x102f7e08c closure #1 in closure #1 in closure #2 in closure #1 in closure #5 in ContactListRootView.body.getter + 84 (ContactListRootView.swift:203)
1
1
489
Oct ’23
iOS 17 Debug Log- Failed to convert from bundle ID
Hello, I just tried running by iOS project today for the first time with iOS 17 as the target, I am on Xcode 15 beta 4. I get the errors below when running the app on an iPhone with iOS 17 public beta installed. The first error was present in iOS 16, I never found a solution for it. But the second error is new. I don't know what is causing it, but it seems that it might be serous. I tried looking up the error, but I could not find any relevant information. Please provide direction as to how to diagnose the problem. Thank you in advanced. Couldn't read values in CFPrefsPlistSource<0x281ca5b90> (Domain: group.com.davidalvarezdev.Proaneer, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting. nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting. nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting.
10
5
3.4k
Jul ’23