joan checo cigollen
joan checo cigollen

Reputation: 21

How to import/export my Realm Database from/to my iPhone app

I have created an app with Xcode based on Realm DB, but now I don not know how the user can export/import the Realm db file. I can not access to my device(Iphone) from Realm Browser.

Is there a way to do this? Either by code or with Realm browser?

Upvotes: 2

Views: 1947

Answers (1)

Jeremy Thiriez
Jeremy Thiriez

Reputation: 21

Maybe it could help you:

On Xcode, with your device plugged, do the command CMD+SHIFT+2. You will see a list of your installed apps. Selection your app then click on wheel 1

You will be able to download or replace the container of your app where you will find your Realm db file in AppData/Documents.

Upvotes: 2

Related Questions