Here is my solution(works on iOS 9):
I use an automator/bash script that open the database in sqllitebrowser. the script finds the latest installed app in the simulator.
Instructions:
- Install DB Browser for SQLite (http://sqlitebrowser.org/)
- Create new workflow in Apple Automator.
- Drag “Run Shell script block” and paste this code:
cd ~/Library/Developer/CoreSimulator/Devices/ cd `ls -t | head -n 1`/data/Containers/Data/Application cd `ls -t | head -n 1`/Documents open -a DB\ Browser\ for\ SQLite ./YOUR_DATABASE_NAME.sqlite
- (Optional) Convert this workflow to application, save it and drag it to your dock. To refresh the database just click on the app icon.