Document directory path of Xcode Device Simulator

前端 未结 21 1730
旧巷少年郎
旧巷少年郎 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 03:01

    The simulator directory has been moved with Xcode 6 beta to...

     ~/Library/Developer/CoreSimulator
    

    Browsing the directory to your app's Documents folder is a bit more arduous, e.g.,

    ~/Library/Developer/CoreSimulator/Devices/4D2D127A-7103-41B2-872B-2DB891B978A2/data/Containers/Data/Application/0323215C-2B91-47F7-BE81-EB24B4DA7339/Documents/MyApp.sqlite
    

提交回复
热议问题