Where does SwiftData store things on the Mac?
On iOS, this directory is in the app's own storage location (app_UUID/Library/Application Support) but, on the Mac, it's a shared location in the user's Library.
By default on the Mac, SwiftData stores its model in the /~/Library/Application Support directory as default.store
. (It will also add two other files, default.store-shm
and default.store-wal
, as the model is stored as a SQLite database, and these are these additional files are part of how SQLite works.)