![]() Swift 4.2: let paths = NSSearchPathForDirectoriesInDomains(,, true)įind ~/Library/Developer/CoreSimulator/Devices/ -name ist -exec sh -c "/usr/libexec/PlistBuddy -c \"print UDID\" '' | sed -n 's/com\.apple\.CoreSimulator.SimRuntime\.\(.*\)/\1/p'" \ This will give you your unique path, making it easier for you, because it is tricky locating it with the 2 unnamed folders/strings of letters and numbers. Return URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] ![]() (NSURL defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]) Method, and NSLogging the return path, like this: // Returns the URL to the application's Documents directory. I was able to find it by going into appDelegate.m, scrolling down to the - (NSURL *)applicationDocumentsDirectory ![]() (numbers and letters) stands for a folder that would be unique to your app/computer, but would look like this: 779AE2245-F8W2-57A9-8C6D-98643B1CF01A ![]() Library/Developer/CoreSimulator/Devices/(numbers and letters)/data/Containers/Data/Application/(numbers and letters)/Documents/ ![]() I managed to locate the sqlite file, and its in this path now: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |