iOS 18.3.1 - QLPreviewControllerView closing triggers AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1022

Since iOS 18.3.1, In lower iOS versions it works fine though.

QLPreviewController shows a blank white screen instead of showing the document. Additionally, it does not display the 'Done' option at the top-right to close the view.

Presenting the QLPreviewController works fine to display the document, but for the second time, it renders the blank white screen as described.

While launching QLPreviewControllerView for the first time. I'm receiving the following message in the console and it displays the document.

LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=72, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler}

Attempt to map database failed: permission was denied. This attempt will not be retried.

Closing the QLPreviewController with the help of the 'Done' option from top-right or swipe to close triggers the following message in the console.

Connection to appex interrupted
AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1022 (
	0   AXRuntime                           0x00000001d2cd7758 _AXGetPortFromCache + 796
	1   AXRuntime                           0x00000001d2cdd02c AXUIElementPerformFencedActionWithValue + 700
	2   UIKit                               0x0000000258cdf488 7F0274D9-D3C9-3193-B606-1C74BE53B86C + 1537160
	3   libdispatch.dylib                   0x0000000101bb888c _dispatch_call_block_and_release + 32
	4   libdispatch.dylib                   0x0000000101bba578 _dispatch_client_callout + 20
	5   libdispatch.dylib                   0x0000000101bc2454 _dispatch_lane_serial_drain + 840
	6   libdispatch.dylib                   0x0000000101bc325c _dispatch_lane_invoke + 408
	7   libdispatch.dylib                   0x0000000101bd06fc _dispatch_root_queue_drain_deferred_wlh + 328
	8   libdispatch.dylib                   0x0000000101bcfd0c _dispatch_workloop_worker_thread + 580
	9   libsystem_pthread.dylib             0x0000000225ea4680 _pthread_wqthread + 288
	10  libsystem_pthread.dylib             0x0000000225ea2474 start_wqthread + 8
)

Trying to open he document again, Ultimately results in the white blank screen to be displayed with no options to close. It displays the Navigation bar only for the fraction of time. Leading users to force close the app and start again.

iOS 18.3.1 - QLPreviewControllerView closing triggers AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1022
 
 
Q