Where does the iPhone simulator save the sqllite database

前端 未结 6 1947
南旧
南旧 2020-12-31 22:36

I have seen this question asked a few times on SO - but the answer always seems to be roughly the same:

 /Users/myName/Library/Application Support/iPhone Sim         


        
相关标签:
6条回答
  • 2020-12-31 22:45

    Since OS X Lion the Library folder in your User folder is hidden by default. In Finder open the 'Go' menu and press option (alt), you'll notice the appearance of the 'Library' folder.

    0 讨论(0)
  • 2020-12-31 22:47

    Are you looking for the Library directory through Finder, or on the command line? By default from Lion onwards the Library is hidden. You can unhide it by typing

    /usr/bin/chflags nohidden ~/Library
    

    at the terminal, or just navigate there via command line eg:

    open ~/Library/Application\ Support/iPhone\ Simulator/
    
    0 讨论(0)
  • 2020-12-31 22:49

    I think 4.2 is your version of iOS simulator, because at that path you must select you simulator version. Under that, there must be a folder called Applications, under that there are some intersted named folders(i thing these names are MD5 or something else) and each of these folders stand for an individual application. Find the folder related to the application you are looking for, under Documents folder there must be the database file

    0 讨论(0)
  • 2020-12-31 22:52

    Libary is hidden in your standard finder.

    To be able to find it, navigate to your top user directory (~/) and Press Cmd-Shift-G.

    A text box appears so type Library and then follow the yellow brick road.

    0 讨论(0)
  • 2020-12-31 22:52

    So, far the best one is SimPholder. It saves the icon at the top. Once you run the application, click at the Simpholer icon it will show the application you were running and take you derie

    0 讨论(0)
  • 2020-12-31 23:02

    For similar purposes, I recommend a command line tool called Musical Chairs. With it installed, you can open the last altered simulator app directory with chairs open. It's an easily installed ruby gem, sudo gem install chairs. It's main purpose is actually to cache app data instances, more here.

    0 讨论(0)
提交回复
热议问题