Document directory path of Xcode Device Simulator

前端 未结 21 1725
旧巷少年郎
旧巷少年郎 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:57

    It is correct that we need to look into the path ~/Library/Developer/CoreSimulator/Devices/.

    But the issue I am seeing is that the path keeps changing every time I run the app. The path contains another set of long IDs after the Application string and that keeps changing every time I run the app. This basically means that my app will not have any cached data when it runs the next time.

提交回复
热议问题