Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Error when clicking on photo #135

@mikeusru

Description

@mikeusru

When I try adding a photo to the message, I get this long error every time.

2021-03-31 09:32:28.108494-0400 FriendlyChatSwift[35385:1121969] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.108812-0400 FriendlyChatSwift[35385:1121969] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.109755-0400 FriendlyChatSwift[35385:1121969] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.110006-0400 FriendlyChatSwift[35385:1121969] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.110731-0400 FriendlyChatSwift[35385:1121969] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.127282-0400 FriendlyChatSwift[35385:1121969] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.128216-0400 FriendlyChatSwift[35385:1121969] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.128432-0400 FriendlyChatSwift[35385:1121969] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }}
2021-03-31 09:32:28.129465-0400 FriendlyChatSwift[35385:1121969] [xpc.exceptions] <NSXPCConnection: 0x600003beca00> connection on anonymousListener or serviceListener from pid 35387: Warning: Exception caught during invocation of selector didSelectMediaWithInfoDictionary:, dropping incoming message and invalidating the connection.
Exception: *** -[NSURL URLByAppendingPathExtension:]: component, components, or pathExtension cannot be nil.
*** -[NSURL URLByAppendingPathExtension:]: component, components, or pathExtension cannot be nil.
(
	0   CoreFoundation                      0x00007fff20421af6 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007fff20177e78 objc_exception_throw + 48
	2   Foundation                          0x00007fff20860900 -[NSURL(NSURLPathUtilities) URLByDeletingPathExtension] + 0
	3   PhotosUI                            0x00007fff3faf656a -[PUPhotoPickerExtensionHostContext _UIImagePickerControllerInfoDictionaryFromPhotoPickerInfoDictionary:] + 2177
	4   PhotosUI                            0x00007fff3faf5b5b -[PUPhotoPickerExtensionHostContext didSelectMediaWithInfoDictionary:] + 34
	5   Foundation                          0x00007fff209290e3 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S1__ + 10
	6   Foundation                          0x00007fff20927e1b -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 2268
	7   Foundation                          0x00007fff20929412 message_handler + 206
	8   libxpc.dylib                        0x00007fff20055cac _xpc_connection_call_event_handler + 56
	9   libxpc.dylib                        0x00007fff2005603e _xpc_connection_mach_event + 905
	10  libdispatch.dylib                   0x000000010e8a3a68 _dispatch_client_callout4 + 9
	11  libdispatch.dylib                   0x000000010e8bdba8 _dispatch_mach_msg_invoke + 550
	12  libdispatch.dylib                   0x000000010e8aa0ad _dispatch_lane_serial_drain + 307
	13  libdispatch.dylib                   0x000000010e8bea76 _dispatch_mach_invoke + 563
	14  libdispatch.dylib                   0x000000010e8aa0ad _dispatch_lane_serial_drain + 307
	15  libdispatch.dylib                   0x000000010e8aaf9d _dispatch_lane_invoke + 493
	16  libdispatch.dylib                   0x000000010e8b6de2 _dispatch_workloop_worker_thread + 882
	17  libsystem_pthread.dylib             0x00007fff61167499 _pthread_wqthread + 314
	18  libsystem_pthread.dylib             0x00007fff61166467 start_wqthread + 15
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions