MagicalRecord でシミュレータ実行時に作成された sqlite のデータベースファイルを探す

環境: iOS SDK8.1

MagicalRecord で

MagicalRecord.setupCoreDataStackWithAutoMigratingSqliteStoreNamed("database.sqlite")

のように実行した場合、シミュレータでは

~/Library/Developer/CoreSimulator/Devices/デバイスID

以下に作成される。

デバイス ID が分からないことが多いので find で探す。

$ find ~/Library/Developer/CoreSimulator/Devices/ -name "database.sqlite"