Is there anyway to download the "container" from the simulator, similar to what you can do with Xcode when you install on a real iPhone device? (I think "container" goes by various names, including sandbox?). I've tried switching to "simulator" in Xcode (from "Device") but don't see anything when I do that and select the appropriate iPhone model (which is running in the simulator). So perhaps there is another way to do this? Cheers and thanks,
PS I am after the sqlite file I install with my app, if that helps.
Mark
sim question
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
sim question
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
Re: sim question
To answer my own question there is a discussion on StackOverflow that addresses this...marksmithhfx wrote: ↑Mon Jan 04, 2021 1:26 pmIs there anyway to download the "container" from the simulator, similar to what you can do with Xcode when you install on a real iPhone device? (I think "container" goes by various names, including sandbox?). I've tried switching to "simulator" in Xcode (from "Device") but don't see anything when I do that and select the appropriate iPhone model (which is running in the simulator). So perhaps there is another way to do this? Cheers and thanks,
PS I am after the sqlite file I install with my app, if that helps.
Mark
https://stackoverflow.com/questions/464 ... 89#4644189
Among the various suggestions the following worked for me to access the Sqlite file...
I had some difficulty with step 2, but here's an alternate way to do the same thing:1 On the dock, right click on Finder, select Go To Folder
2 Paste in the following (with your username), and click Go: /Users/yourusername/Library/Developer/CoreSimulator/Devices
3 On the top right corner of the Finder window search for the database name you are looking for, then make sure the Search location is set to "Devices" folder, not the whole "This Mac".
Best,1. select the Finder
2. hold down the Option key and select the “Go” menu
3. Library should appear in the list, select it.
4. Do the rest (/Developer/CoreSimulator/Devices) by clicking on folders.
5. Once inside Devices, the advice in step 3 (list above) worked like a charm.
Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS