iOS 15 Simulator - Files App not showing contents of Documents Folder anymore

Updated my environment recently to Big Sur and Xcode 12.5.1. I have an app that downloads pdf files and saves it externally to be viewed in the Files App. Everything works fine on real device but not in the simulator.

I observed that files in Documents folder of the iOS simulator(iOS 15.0) do not show up in the Files app anymore.

Is there any permission/hiccup here that I should be aware of?

Answered by OOPer in 691240022

And I have not verified if the issue is also there when run in a real device.

As far as I tried, a file saved in the Documents folder of an app can be opened with a real device. (iPhone 12 Pro Max/iOS 15.0.1)

Correction, the issue only happens with XCode 13.0 running in iOS Simulator 15.0. And I have not verified if the issue is also there when run in a real device.

For XCode 12.5.1 running in iOS Simulator 14.5, it works fine.

Accepted Answer

And I have not verified if the issue is also there when run in a real device.

As far as I tried, a file saved in the Documents folder of an app can be opened with a real device. (iPhone 12 Pro Max/iOS 15.0.1)

I'm having the same problem and went insane trying to find a solution. Thank you !

Is there any hope of this being fixed? I have to write a tool to clean out files in order to do any testing on a simulator. This is more than just an inconvenience

iOS 15 Simulator - Files App not showing contents of Documents Folder anymore
 
 
Q