I tested it on Xcode 8 Swift 3 OS macOS Sierra
Ios 10
In your app, Appdelegate.swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask) print(urls[urls.count-1] as URL) return true }
1. The constant .documentDirectory says that we are looking for a directory of documents
2. Permanent .userDomainMask to limit our search to the sandbox of our application.
Exit
file:///Users/Ashok/Library/Developer/CoreSimulator/Devices/F629F99F-C745-46EB-8A11-01BC9FF1E592/data/Containers/Data/Application/3B373C93-71A2-46E9-8AF7-EF407C39429F/Documents/
Click "Go" → "Go to folder" → "Insert path" → "Hit entry"

Then go to the library -> Application Support -> filename.sqlite

Edited
OR
open your terminal and type find ~ -name 'HitTest.sqlite' and press enter.
Ashoks-MacBook-Pro:Desktop Ashok$ find ~ -name 'HitTest.sqlite' /Users/Ashok/Library/Developer/CoreSimulator/Devices/F629F99F-C745-46EB-8A11-01BC9FF1E592/data/Containers/Data/Application/3B373C93-71A2-46E9-8AF7-EF407C39429F/Documents/HitTest.sqlite
From the above, you can clearly see the path to your sqlite db
You can use DB Browser for SQLite to open.
Ashok r
source share