D
D
Dmitry Danilin2022-03-04 12:05:02
Swift
Dmitry Danilin, 2022-03-04 12:05:02

Why is there an error in the console when accessing the gallery when running on a real device?

The application has access to the gallery through the UIImagePickerController. All access requests are registered. But when opening the gallery, a message appears:

TestApp [2805:775631] [AXRuntimeCommon] Unknown client: TestApp


Next, when choosing a photo:
TestApp[2805:775547] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""


And duplicated three times:
TestApp[2805:776499] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:2809 (
0 AXRuntime 0x00000001ad84e18c 4D58D647-3790-337C-B355-1A16D89 EEF00 +
130 AXRuntime 0x00000001ad807904 _AXGetPortFromCache + 696
2 AXRuntime 0x00000001ad808fb8 AXUIElementPerformFencedActionWithValue + 484
3 UIKit 0x00000001dea2b474 C2DBE0FE-DB27-32EA-BB77-8DAB1AE90851 + 885 876
4 libdispatch.dylib 0x0000000104828718 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x0000000104829f94 _dispatch_client_callout + 16
6 libdispatch.dylib 0x0000000104831150 _dispatch_lane_serial_drain + 684
7 libdispatch.dylib 0x0000000104831dd4 _dispatch_lane_invoke + 432
8 libdispatch.dylib 0x000000010483d4e8 _dispatch_workloop_worker_thread + 852
9 libsystem_pthread.dylib 0x00000001de71fe84 _pthread_wqthread + 284
10 libsystem_pthread.dylib 0x00000001de71f9f0 start_wqthread + 8
)


Google did not give much result, and all attempts to fix it do not help. This happens only on a real device, in the simulator everything works without errors. The error does not affect the operation of the application in any way, and the photo from the gallery is quietly selected and used by the application.

How can I fix this and what is causing this error?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question