4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

iOS Simulatorでシミュレータのsqlite dbを参照する方法

Posted at

お初になります。新人えんじにゃーの@marloweです。

タイトル通り、iOSアプリの開発をしていて、ローカルDBの中身を確認したくなった時に使ってます。

方法は2つあります。

1つ目は、@t_punch さんの書かれた記事(xcode:iOS シミュレーターのフォルダの場所)に記載されている通り、スクリプト作って毎回開く方法。

2つ目は、xcode pluginのSQLPluginを使って見る方法。

package managerのAlcatrazをinstallして、installできたらxcodeメニューバーの[Window]->[Package Manager]のメニューが追加されているので、そこからSQLPluginを追加する。

そうすると、メニューバーに[SQL]が追加されているので[SQL]->[SQL Viewer]で見れる。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?