How to find Realm file location of a Mac App
The Realm
does change when you create new file.
Just add the following line to your ViewDidLoad
method:
print(Realm.Configuration.defaultConfiguration.fileURL!)
This line will print the location to XCode console. Copy the file path, go to Finder
-> Go -> Go go Folder... -> paste the path and hit Go.