Media library causes freezes under iOS 15.2 #5465
Labels
A-Media
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
When starting the App for the first time on iOS 15.2 I wanted to create a message with an image from the media library. I got the permissions dialog, after allowing usage the app freezes for a while. Afterwards I can't use the media library button. Restarting the App removes the problem.
When debugging from XCode I notice following:
In: (void)reloadRecentCapturesCollection
{
// Retrieve recents snapshot for the selected media types
PHFetchResult *smartAlbums = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeSmartAlbum subtype:PHAssetCollectionSubtypeSmartAlbumUserLibrary options:nil];
there is:
2022-01-17 07:54:58.723191+0100 Riot[763:84056] [GatekeeperXPC] XPC connection error to assetsd getLibraryServiceWithReply: : Error Domain=com.apple.photos.error Code=41011 "Unauthorized access: client does not have valid TCC authorization" UserInfo={NSLocalizedDescription=Unauthorized access: client does not have valid TCC authorization}
which cauxes an assert in debug mode.
Apple has the following to say: https://developer.apple.com/forums/thread/696804
The text was updated successfully, but these errors were encountered: