Posts

Post marked as solved
16 Replies
I tried this and the binary validated but getting the same error on upload. I got solution now. I clearn this directory '/Users/longcao/Library/Developer/Xcode/DerivedData'Then archive the app, then I can validate and upload my app to the app store.
Post not yet marked as solved
28 Replies
Crash report - https://developer.apple.com/forums/content/attachment/6594650c-05d2-4824-9ef1-e9c63f4b2c02 My app and widget extension use Core Data to access the same persistent store via a shared app group and are frequently getting this crash. Can you post a full crash report? Use the text attachment feature so it doesn’t clutter up the timeline. Attached an example of the crash. Thanks for taking a look.
Post not yet marked as solved
28 Replies
Finally, some concrete advice: Avoid file locks where possible. For this sort of task, consider using Core Data, which is built in to the system and thus will do the right thing. My app and widget extension use Core Data to access the same persistent store via a shared app group and are frequently getting this crash. Any advice Eskimo? Exception Type:	EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note:	EXC_CORPSE_NOTIFY Termination Reason: Namespace RUNNINGBOARD, Code 0xdead10cc Triggered by Thread:	0 Thread 0 name: Thread 0 Crashed: 0	 libsystem_kernel.dylib				 0x00000001c5b5fdd0 mach_msg_trap + 8 1	 libsystem_kernel.dylib				 0x00000001c5b5f184 mach_msg + 76 (mach_msg.c:103) 2	 CoreFoundation								 0x0000000199bcecf8 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3	 CoreFoundation								 0x0000000199bc8ea8 __CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4	 CoreFoundation								 0x0000000199bc84bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5	 Foundation										 0x000000019ae45e30 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374) 6	 Foundation										 0x000000019ae7879c -[NSRunLoop(NSRunLoop) run] + 92 (NSRunLoop.m:399) 7	 libxpc.dylib									 0x00000001e11da428 _xpc_objc_main + 688 (main.m:265) 8	 libxpc.dylib									 0x00000001e11dc700 xpc_main + 180 (init.c:1198) 9	 Foundation										 0x000000019ae7aaa8 -[NSXPCListener resume] + 316 (NSXPCListener.m:448) 10	PlugInKit										 0x00000001c830b564 -[PKService run] + 424 (PKService.m:186) 11	PlugInKit										 0x00000001c830b1a4 +[PKService main] + 576 (PKService.m:115) 12	PlugInKit										 0x00000001c830b970 +[PKService _defaultRun:arguments:] + 24 (PKService.m:233) 13	ExtensionKit									 0x000000019e0b9848 EXExtensionMain + 84 (EXExtensionMain.m:23) 14	Foundation										 0x000000019afc2b78 NSExtensionMain + 200 (NSExtensionMain.m:13) 15	libdyld.dylib								 0x000000019988fe60 start + 4 Thread 2: 0	 libsystem_kernel.dylib				 0x00000001c5b84f6c fsync + 8 1	 libsqlite3.dylib							 0x00000001b2ab496c unixSync + 212 (sqlite3.c:39882) 2	 libsqlite3.dylib							 0x00000001b2abe3dc syncJournal + 488 (sqlite3.c:23756) 3	 libsqlite3.dylib							 0x00000001b2ab43cc sqlite3PagerCommitPhaseOne + 1216 (sqlite3.c:65303) 4	 libsqlite3.dylib							 0x00000001b2a9f164 sqlite3BtreeCommitPhaseOne + 164 (sqlite3.c:75145) 5	 libsqlite3.dylib							 0x00000001b2a69f60 sqlite3VdbeHalt + 2820 (sqlite3.c:87147) 6	 libsqlite3.dylib							 0x00000001b2a97cdc sqlite3VdbeExec + 56848 (sqlite3.c:95898) 7	 libsqlite3.dylib							 0x00000001b2a887ac sqlite3_step + 304 (sqlite3.c:90618) 8	 CoreData											 0x000000019fd9c12c _execute + 116 (NSSQLiteConnection.m:4480) 9	 CoreData											 0x000000019fbddd94 -[NSSQLiteConnection commitTransaction] + 296 (NSSQLiteConnection.m:3184) 10	CoreData											 0x000000019fbecc58 -[NSSQLiteConnection createSchema] + 548 (NSSQLiteConnection.m:7371) 11	CoreData											 0x000000019fbe8190 -[NSSQLiteConnection connect] + 1940 (NSSQLiteConnection.m:2280) 12	CoreData											 0x000000019fd75044 __32-[NSSQLCore _loadAndSetMetadata]_block_invoke + 132 (NSSQLCore.m:1840) 13	CoreData											 0x000000019fd99d3c __37-[NSSQLiteConnection performAndWait:]_block_invoke + 48 (NSSQLiteConnection.m:718) 14	libdispatch.dylib						 0x0000000199850ac8 _dispatch_client_callout + 20 (object.m:559) 15	libdispatch.dylib						 0x000000019985ec8c _dispatch_lane_barrier_sync_invoke_and_complete + 60 (queue.c:998) 16	CoreData											 0x000000019fbe36fc -[NSSQLiteConnection performAndWait:] + 172 (NSSQLiteConnection.m:715) 17	CoreData											 0x000000019fbe8764 -[NSSQLCore _loadAndSetMetadata] + 340 (NSSQLCore.m:1865) 18	CoreData											 0x000000019fbe894c -[NSSQLCore loadMetadata:] + 32 (NSSQLCore.m:1886) 19	CoreData											 0x000000019fd4a8ec __91-[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:]_block_invoke + 1508 (NSPersistentStoreCoordinator.m:1673) 20	CoreData											 0x000000019fd57f08 gutsOfBlockToNSPersistentStoreCoordinatorPerform + 208 (NSPersistentStoreCoordinator.m:361) 21	libdispatch.dylib						 0x0000000199850ac8 _dispatch_client_callout + 20 (object.m:559) 22	libdispatch.dylib						 0x000000019985ec8c _dispatch_lane_barrier_sync_invoke_and_complete + 60 (queue.c:998) 23	CoreData											 0x000000019fd47cbc _perform + 184 (NSPersistentStoreCoordinator.m:483) 24	CoreData											 0x000000019fbe1024 -[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:] + 484 (NSPersistentStoreCoordinator.m:1530) 25	CoreData											 0x000000019fd49d98 -[NSPersistentStoreCoordinator _doAddPersistentStoreWithDescription:privateCopy:completeOnMainThread:withHandler:] + 544 (NSPersistentStoreCoordinator.m:1431) 26	libdispatch.dylib						 0x000000019984efd0 _dispatch_call_block_and_release + 32 (init.c:1454) 27	libdispatch.dylib						 0x0000000199850ac8 _dispatch_client_callout + 20 (object.m:559) 28	libdispatch.dylib						 0x0000000199853a10 _dispatch_queue_override_invoke + 692 (inline_internal.h:2548) 29	libdispatch.dylib						 0x0000000199861104 _dispatch_root_queue_drain + 356 (inline_internal.h:2589) 30	libdispatch.dylib						 0x00000001998618e8 _dispatch_worker_thread2 + 116 (queue.c:6766) 31	libsystem_pthread.dylib			 0x00000001e11ac8cc _pthread_wqthread + 216 (pthread.c:2210) 32	libsystem_pthread.dylib			 0x00000001e11b377c start_wqthread + 8
Post not yet marked as solved
13 Replies
I am getting a lot of these as well- Exception Type:	EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note:	EXC_CORPSE_NOTIFY Termination Reason: Namespace RUNNINGBOARD, Code 0xdead10cc Triggered by Thread:	0 Thread 0 name: Thread 0 Crashed: 0	 libsystem_kernel.dylib				 0x00000001c5123dd0 mach_msg_trap + 8 1	 libsystem_kernel.dylib				 0x00000001c5123184 mach_msg + 76 (mach_msg.c:103) 2	 CoreFoundation								 0x0000000199192cf8 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3	 CoreFoundation								 0x000000019918cea8 __CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4	 CoreFoundation								 0x000000019918c4bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5	 Foundation										 0x000000019a409e30 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374) 6	 Foundation										 0x000000019a43c79c -[NSRunLoop(NSRunLoop) run] + 92 (NSRunLoop.m:399) 7	 libxpc.dylib									 0x00000001e079e428 _xpc_objc_main + 688 (main.m:265) 8	 libxpc.dylib									 0x00000001e07a0700 xpc_main + 180 (init.c:1198) 9	 Foundation										 0x000000019a43eaa8 -[NSXPCListener resume] + 316 (NSXPCListener.m:448) 10	PlugInKit										 0x00000001c78cf564 -[PKService run] + 424 (PKService.m:186) 11	PlugInKit										 0x00000001c78cf1a4 +[PKService main] + 576 (PKService.m:115) 12	PlugInKit										 0x00000001c78cf970 +[PKService _defaultRun:arguments:] + 24 (PKService.m:233) 13	ExtensionKit									 0x000000019d67d848 EXExtensionMain + 84 (EXExtensionMain.m:23) 14	Foundation										 0x000000019a586b78 NSExtensionMain + 200 (NSExtensionMain.m:13) 15	libdyld.dylib								 0x0000000198e53e60 start + 4