Access SwiftData/CoreData stores located in AppGroup container
contracorner opened this issue · comments
Is your feature request related to a problem? Please describe.
I am doing a lot of work with SwiftData and would love to have an easy way to see (and edit, perhaps) the SQLite data store. Mine is in an AppGroup container for the app. Right now I must OSLog the store's location so I can grab it, rename it so the extension is .sqlite*, and use a freebie SQLite examiner on the renamed copies.
Describe the solution you'd like
It'd be great to open a window for the stores for any simulated device. If I could also edit record fields that'd be a small extra bonus. If I could tell RocketSim the store names for the app once, it could, in theory, locate and display the tables.
Describe alternatives you've considered
Scripting this is tricky for me. Device IDs change and the SQLite visual display app isn't scriptable.
Additional context
I feel like your issue is slightly different, but it looks like #370. Thanks for reporting! Definitely on my list.