I'm trying to reach the sqlite database from an app made with ionic. when making the app with ionic, the database is stored in this directory:
/Users/sistemas/Library/Developer/CoreSimulator/Devices/{alfanumeric}/data/Containers/Data/Application/{alfanumeric}/Library/LocalDatabase/test.db
But when i run the app made in xcode (8.2), the file is generated in another directory:
/Users/sistemas/Library/Developer/CoreSimulator/Devices/{alfanumeric}/data/Containers/Data/Application/{alfanumeric}/Documents/test.db
I have both database files in the xcode-made app and don't know how to reach the first test.db. Has anybody the solution to it?