We’ve got obtained a crash report from AppStore join / Xcode, TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION on an iPhone 12 Professional operating iOS 18.1 (sadly, we do not know the consumer and the way did they get the crash)
The log mentions NSPhotoLibraryAddUsageDescription
, however we aren’t utilizing photograph library in any form or type, can we nonetheless want to incorporate this key in Into.plist? And what can we put there?
Are you aware what different operations might trigger this permission challenge?
Full log won’t match right here, however listed here are some elements of it,
that point out crash (Thread 7), PhotoLibraryServicesCore, PHPerformChangesRequest determineAuthorizationStatusForChanges (Thread 4) and Binary Pictures, together with /System/Library/Frameworks/Photographs.framework/Photographs /System/Library/PrivateFrameworks/PhotoLibraryServicesCore.framework/PhotoLibraryServicesCore
Once more, we aren’t utilizing any of these. Unsure why they’re there.
Incident Identifier: 5AFB7CCF-ECEC-40E1-AF71-02799924BC8
Distributor ID: com.apple.AppStore.
{Hardware} Mannequin: iPhone13,3
Course of: Polynomials [8291]
Path: /non-public/var/containers/Bundle/Software/168A2A15-821B-414A-84B6-43C5184E5B59/Polynomials.app/Polynomials.
Identifier: com.graphmath.PolynomialsSbS
Model: 5.1 (16)
AppStoreTools: 16C5031b
AppVariant: 1:iPhone13,3:18
Code Sort: ARM-64 (Native)
Position: Foreground
Father or mother Course of: launchd [1]
Coalition: com.graphmath.PolynomialsSbS [2383]
Date/Time: 2024-12-10 05:23:26.6944 +0200
Launch Time: 2024-12-10 05:16:45.7989 +0200
OS Model: iPhone OS 18.1 (22B5069a)
Launch Sort: Beta
Baseband Model: 5.10.01
Report Model: 104
Exception Sort: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Motive: TCC 0
**This app has crashed as a result of it tried to entry privacy-sensitive knowledge and not using a utilization description. The app's Data.plist should include an NSPhotoLibraryAddUsageDescription key with a string worth explaining to the consumer how the app makes use of this knowledge.**
...
Thread 7 Crashed:
0 libsystem_kernel.dylib 0x00000001daf36ec4 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x00000001daf56bec abort_with_payload_wrapper_internal + 104 (terminate_with_reason.c:102)
2 libsystem_kernel.dylib 0x00000001daf56c20 abort_with_payload + 16 (terminate_with_reason.c:124)
**3 TCC 0x00000001ada4eb10 __TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 172 (TCC.c:579)**
4 TCC 0x00000001ada4a210 ___tcc_server_send_request_authorization_block_invoke_3 + 124 (tcc_server.c:322)
5 TCC 0x00000001ada4e230 __tccd_send_message_block_invoke + 624 (TCC.c:0)
6 libxpc.dylib 0x00000002130adc40 _xpc_connection_reply_callout + 116 (serializer.c:119)
7 libxpc.dylib 0x00000002130a0390 _xpc_connection_call_reply_async + 80 (connection.c:894)
...
Thread 4:
0 libsystem_kernel.dylib 0x00000001daf24604 semaphore_wait_trap + 8
1 libdispatch.dylib 0x000000019288466c _dispatch_sema4_wait + 28 (lock.c:139)
2 libdispatch.dylib 0x0000000192884d20 _dispatch_semaphore_wait_slow + 132 (semaphore.c:132)
3 PhotoLibraryServicesCore 0x00000001a37cde70 -[PLPrivacy _checkAuthStatusForPhotosAccessScope:preflightStatus:promptIfUnknown:resultHandler:] + 532 (PLPrivacy.m:554)
4 PhotoLibraryServicesCore 0x00000001a37cd9e0 __87-[PLPrivacy _isPhotosAccessAllowedWithScope:promptIfUnknown:synchronous:resultHandler:]_block_invoke + 240 (PLPrivacy.m:587)
5 libdispatch.dylib 0x00000001928840d0 _dispatch_client_callout + 20 (object.m:576)
6 libdispatch.dylib 0x0000000192893750 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1104)
**7 PhotoLibraryServicesCore 0x00000001a37c2c44 -[PLPrivacy _isPhotosAccessAllowedWithScope:promptIfUnknown:synchronous:resultHandler:] + 156 (PLPrivacy.m:582)**
**8 PhotoLibraryServicesCore 0x00000001a385af74 -[PLPrivacy checkPhotosAccessAllowedWithScope:] + 136 (PLPrivacy.m:608)**
**9 Photographs 0x00000001a2b99854 -[PHPerformChangesRequest determineAuthorizationStatusForChanges] + 52 (PHPerformChangesRequest.m:417)**
**10 Photographs 0x00000001a2c59a78 __102-[PHPhotoLibrary _performCancellableChanges:withInstrumentation**:onExecutionContext:completionHandler:]_block_invoke + 80 (PHPhotoLibrary.m:2044)
...
Binary Pictures:
0x100e50000 - 0x100fc3fff Polynomials arm64 <e1bb90d05ed23693883e3f8dff3dc268> /non-public/var/containers/Bundle/Software/168A2A15-821B-414A-84B6-43C5184E5B59/Polynomials.app/Polynomials
0x101184000 - 0x10118ffff libobjc-trampolines.dylib arm64e <35a44678195b39c2bdd7072893564b45> /non-public/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
0x1096e8000 - 0x1096ebfff iCloudDriveFileProviderOverride arm64e <5de9ce32cd703abca0b951643ad20971> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/iCloudDriveFileProviderOverride.bundle/iCloudDriveFileProviderOverride
0x10a004000 - 0x10a00bfff FileProviderOverride arm64e <716bd0f2b01835d4a57dbd257464d454> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FileProviderOverride.bundle/FileProviderOverride
0x189761000 - 0x18a46efff Basis arm64e <e96d9cae2aac30858b7b37434a5d1529> /System/Library/Frameworks/Basis.framework/Basis
0x18d310000 - 0x18f1e5fff UIKitCore arm64e <73992f4ddb5531cbba254a1377eb6fe3> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1a2b1e000 - 0x1a2e98fff **Photographs** arm64e <286e53b489dc3526809cde731d193edd> **/System/Library/Frameworks/Photographs.framework/Photographs**
0x1a37bf000 - 0x1a38d8fff **PhotoLibraryServicesCore** arm64e <2ef5261171363f638de0424b4a0ad257> **/System/Library/PrivateFrameworks/PhotoLibraryServicesCore.framework/PhotoLibraryServicesCore**
0x1ada46000 - 0x1ada5dff0 TCC arm64e <8d07479816c73b24a7cc13b7e3f6f361> /System/Library/PrivateFrameworks/TCC.framework/TCC
0x1d6b63000 - 0x1d6b6bfff GraphicsServices arm64e <fc757e242f573d079372205db5a5d6fd> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices