Document directory path of Xcode Device Simulator

前端 未结 21 1750
旧巷少年郎
旧巷少年郎 2020-11-28 02:28

In iOS 7, the document directory of the iOS simulators can be found in:

/Users/Sabo/Library/Application Support/iPhone Simulator/

However,

21条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 02:49

    The simulators are located under:

    ~/Library/Developer/CoreSimulator/

    Here, they are listed as directories with UUID names. Use sort by 'Date modified' to find the latest one. Inside navigate to:

    /data/Containers/Data/Application/

    Here you will get a list of all the applications on that device. You can again sort this to get the latest app.

    NOTE: Xcode changes the directory name every time you run the app, so don't rely on making alias/short cuts on desktop.

    The easiest way is to use the app here, which does everything automatically.

提交回复
热议问题