Unable to change Photos permission of iPad app on Mac

Users can run our apps on Macs with Apple Silicon via the "iPad Apps on Mac" feature.

The apps use PHPhotoLibrary.requestAuthorization(for: .addOnly, handler: callback) to request write-only access to the user's Photo Library during image export. This works as intended on macOS, but a huge problem arises when the user denies access (by accident or intentionally) and later decides that they want us to add their image to Photos: There is no way to grant this permission again.

In System PreferencesPrivacy & SecurityPhotos, the app is just not listed – in fact, none of the "iPad Apps on Mac" apps appear here.

Not even tccutil reset all my.bundle.id works. It just reports tccutil: Failed to reset all approval status for my.bundle.id.

Uninstalling, restarting the Mac, and reinstalling the app also doesn't work. The system seems to remember the initial decision.

Is this an oversight in the integration of those apps with macOS, or are we missing something fundamental here? Is there maybe a way to prompt the user again?

Also filed as FB12119140. Thanks!

Have you tried this on macOS 13.4b2 (22F5037d)? I followed a chain of (internal) links from your bug report and there’s some suggestion that this might be fixed there.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I have the same problem on my 13.5.2 (22G91) Always getting tccutil: Failed to reset all approval status for my.bundle.id

Unable to change Photos permission of iPad app on Mac
 
 
Q