# IOS Simulator location

**URL:** <https://forum.xojo.com/t/ios-simulator-location/73766>\
**Category:** iOS\
**Created:** [December 20, 2022, 1:06pm UTC](https://forum.xojo.com/t/ios-simulator-location/73766 "2022-12-20T13:06:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Arissa](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Allen\_Arissa](https://forum.xojo.com/u/Allen_Arissa)\
**Post date:** [December 20, 2022, 1:06pm UTC](https://forum.xojo.com/t/ios-simulator-location/73766/1 "2022-12-20T13:06:47Z")

</div>

Hello,  
Maybe the answer is here somewhere easy to find but for some reason, I can not find it with the current Xojo/Xcode. How can I find the location where the simulator puts the files. I want to be able to copy a sqlite database file manually to that location because if I do any changes to the database while debugging, those changes are gone next time I run the simulator. I don’t want to check if exists replace it because that will not be the case when the app is finished. I read that I can do a share and use iTunes to back it up.

---

<div class="post-metadata">

**Author:** ![Jeremie\_L](https://forum.xojo.com/user_avatar/forum.xojo.com/jeremie_l/32/150_2.png) [@Jeremie\_L](https://forum.xojo.com/u/Jeremie_L)\
**Post date:** [December 20, 2022, 1:38pm UTC](https://forum.xojo.com/t/ios-simulator-location/73766/2 "2022-12-20T13:38:54Z")

</div>

The easiest way to find the path is to run an iOS project with this code:

```auto
Dim f As Folderitem=SpecialFolder.ApplicationSupport 

If not f.exists then
  f.CreateFolder
End if
System.Debuglog f.NativePath 

```

You’ll then see the full path where you can copy the file in the Xojo messages panel

 ![Screenshot 2022-12-20 at 14.41.23](https://forum.xojo.com/uploads/default/original/2X/2/2eb05d0b25c6b19a826855d8c5b16c8238a3a041.png)

---

<div class="post-metadata">

**Author:** ![Allen\_Arissa](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Allen\_Arissa](https://forum.xojo.com/u/Allen_Arissa)\
**Post date:** [December 20, 2022, 6:03pm UTC](https://forum.xojo.com/t/ios-simulator-location/73766/3 "2022-12-20T18:03:37Z")

</div>

Thank you @Jeremie_L , that pointed me to the vicinity.

---

<div class="post-metadata">

**Author:** ![Art\_Gorski](https://forum.xojo.com/user_avatar/forum.xojo.com/art_gorski/32/704_2.png) [@Art\_Gorski](https://forum.xojo.com/u/Art_Gorski)\
**Post date:** [December 20, 2022, 7:30pm UTC](https://forum.xojo.com/t/ios-simulator-location/73766/4 "2022-12-20T19:30:55Z")

</div>

I do something similar with a breakpoint and then copy the folder item path in the debugger.
