iOS Simulator: App data directory changes on every run (container path stable)

Normally, I can grab my app’s SQLite database from the Simulator by navigating into the container, then into the app’s Documents directory, and opening it in DB Browser.

Up until now, the container path itself has always been stable between runs, so I could just bookmark the full path. But starting today, the application data directory (the GUID-named subfolder inside Containers/Data/Application/) seems to rotate every time I run the project. That means the full path to my .sqlite file changes on each launch.

Is this expected behavior with newer Xcode/Simulator versions? Or did I flip a setting without realizing it? If the app directory is supposed to regenerate on every run, what’s the recommended workflow for consistently accessing the SQLite file?

No idea why that started happening to you, but as it is simulator, you could avoid this issue altogether by storing the file outside the app container e.g. in /Users/name/Documents/...