AvdLee / RocketSimApp

Enhancing the iOS simulator for productivity
570 stars 20 forks source link

Access SwiftData/CoreData stores located in AppGroup container #461

Open contracorner opened 4 months ago

contracorner commented 4 months ago

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

AvdLee commented 4 months ago

I feel like your issue is slightly different, but it looks like #370. Thanks for reporting! Definitely on my list.