Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media library causes freezes under iOS 15.2 #5465

Closed
Tracked by #4883
langleyd opened this issue Jan 31, 2022 · 0 comments · Fixed by #5466
Closed
Tracked by #4883

Media library causes freezes under iOS 15.2 #5465

langleyd opened this issue Jan 31, 2022 · 0 comments · Fixed by #5466
Assignees
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

Comments

@langleyd
Copy link
Member

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

@langleyd langleyd self-assigned this Jan 31, 2022
@langleyd langleyd added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jan 31, 2022
@stefanceriu stefanceriu added A-Media S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants