Unauthorized Access trying to create folder in App Group Directory

Hi there,

Our iOS app is made using Unity, and is part of an App Group. On first run, we create some empty directories in the App Group shared directory. Before iOS 16, this worked fine, but on iOS 16 it fails and an UnauthorizedAccessException is thrown in our code. Did something change in iOS 16 that could cause this, and can we fix it? The app does not request access permissions on first run now, when it did before. Thanks

I fixed this by adding the "App group used for document storage" key to the Info section in Xcode.

Unauthorized Access trying to create folder in App Group Directory
 
 
Q