3

I'm trying to use fileProvider in iOS 11, and I have a database on device at file:///private/var/mobile/Containers/Shared/AppGroup/xxxx/xxx.db

I would like to open this folder in order to open this database by SQLite manage. How to do this?

thanks a lot

Dadep
  • 2,756
  • 5
  • 25
  • 37
Randall Wang
  • 977
  • 3
  • 9
  • 24

2 Answers2

0

You can use Simpholders to open the group container for your simulators. It has a 10 day trial period.

Puneet Sharma
  • 9,169
  • 1
  • 25
  • 31
  • 1
    Thank you. If Simpholders can do it.There must be a way for us to do that, too.the Question is how – Randall Wang Jul 19 '17 at 06:20
  • @RandallWang: You can print the path of your group container.Have a look at the selected answer : https://stackoverflow.com/questions/29454771/obtain-the-path-of-app-group-from-filemanager – Puneet Sharma Jul 19 '17 at 06:41
  • 1
    Thanks, I find a workaround.Use simulator instead of the device.Then I can open the path. ps, Simpholders is not working when I using Xcode 9 beta – Randall Wang Jul 19 '17 at 08:44
0

Simpholders only gives you access for Simulator version, you can also access simultor path by

1.Click on finder

2.(Cmd + Shift + G)

3.Paste your search path

You will get file in your "finder folder" directory

Vivek Gajbe
  • 382
  • 1
  • 14