How to open database sqlite file on iPhone real device?












1














I'm debbuging a app in my real device by cable. I've a iPhone 6. I want check my database and operate with sqlite3 to query my results. The other questions and tutorials explain to do this only in simulator but I'm using a real iPhone.



In AppDelegate, I prints the path of database:



print(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as String)
/Users/myname/Library/Developer/CoreSimulator/Devices/DAE93E57-7004-45F6-9B93-E79CA1AEEEFA/data/Containers/Data/Application/D7A4F27E-6F11-4941-A1B0-0337ABF788AB/Documents



So, I take the path and access from terminal and access my database with sqlite3 DatabaseFile



But when I debugging in my device, the path that's printed not works. I tried use the printed path

cd /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents
/usr/bin/CD: line 4: cd: /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents: No such file or directory



This error happens because this is of iOS system, I think.










share|improve this question
























  • There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
    – rmaddy
    Jun 13 at 3:00










  • I've edited my question with details
    – Augusto
    Jun 13 at 3:13










  • Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
    – rmaddy
    Jun 13 at 4:13










  • I do this, but my question is how to do this in real device? Not in simulator.
    – Augusto
    Jun 13 at 11:32










  • Possible duplicate of Any way to get your SQLite DB off iPhone?
    – Praveen Gowlikar
    Jun 14 at 4:30
















1














I'm debbuging a app in my real device by cable. I've a iPhone 6. I want check my database and operate with sqlite3 to query my results. The other questions and tutorials explain to do this only in simulator but I'm using a real iPhone.



In AppDelegate, I prints the path of database:



print(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as String)
/Users/myname/Library/Developer/CoreSimulator/Devices/DAE93E57-7004-45F6-9B93-E79CA1AEEEFA/data/Containers/Data/Application/D7A4F27E-6F11-4941-A1B0-0337ABF788AB/Documents



So, I take the path and access from terminal and access my database with sqlite3 DatabaseFile



But when I debugging in my device, the path that's printed not works. I tried use the printed path

cd /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents
/usr/bin/CD: line 4: cd: /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents: No such file or directory



This error happens because this is of iOS system, I think.










share|improve this question
























  • There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
    – rmaddy
    Jun 13 at 3:00










  • I've edited my question with details
    – Augusto
    Jun 13 at 3:13










  • Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
    – rmaddy
    Jun 13 at 4:13










  • I do this, but my question is how to do this in real device? Not in simulator.
    – Augusto
    Jun 13 at 11:32










  • Possible duplicate of Any way to get your SQLite DB off iPhone?
    – Praveen Gowlikar
    Jun 14 at 4:30














1












1








1


1





I'm debbuging a app in my real device by cable. I've a iPhone 6. I want check my database and operate with sqlite3 to query my results. The other questions and tutorials explain to do this only in simulator but I'm using a real iPhone.



In AppDelegate, I prints the path of database:



print(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as String)
/Users/myname/Library/Developer/CoreSimulator/Devices/DAE93E57-7004-45F6-9B93-E79CA1AEEEFA/data/Containers/Data/Application/D7A4F27E-6F11-4941-A1B0-0337ABF788AB/Documents



So, I take the path and access from terminal and access my database with sqlite3 DatabaseFile



But when I debugging in my device, the path that's printed not works. I tried use the printed path

cd /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents
/usr/bin/CD: line 4: cd: /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents: No such file or directory



This error happens because this is of iOS system, I think.










share|improve this question















I'm debbuging a app in my real device by cable. I've a iPhone 6. I want check my database and operate with sqlite3 to query my results. The other questions and tutorials explain to do this only in simulator but I'm using a real iPhone.



In AppDelegate, I prints the path of database:



print(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last! as String)
/Users/myname/Library/Developer/CoreSimulator/Devices/DAE93E57-7004-45F6-9B93-E79CA1AEEEFA/data/Containers/Data/Application/D7A4F27E-6F11-4941-A1B0-0337ABF788AB/Documents



So, I take the path and access from terminal and access my database with sqlite3 DatabaseFile



But when I debugging in my device, the path that's printed not works. I tried use the printed path

cd /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents
/usr/bin/CD: line 4: cd: /var/mobile/Containers/Data/Application/3257D423-C198-41A5-B29D-B31E99F84F34/Documents: No such file or directory



This error happens because this is of iOS system, I think.







ios swift xcode sqlite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 13 at 3:12

























asked Jun 13 at 1:45









Augusto

450419




450419












  • There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
    – rmaddy
    Jun 13 at 3:00










  • I've edited my question with details
    – Augusto
    Jun 13 at 3:13










  • Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
    – rmaddy
    Jun 13 at 4:13










  • I do this, but my question is how to do this in real device? Not in simulator.
    – Augusto
    Jun 13 at 11:32










  • Possible duplicate of Any way to get your SQLite DB off iPhone?
    – Praveen Gowlikar
    Jun 14 at 4:30


















  • There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
    – rmaddy
    Jun 13 at 3:00










  • I've edited my question with details
    – Augusto
    Jun 13 at 3:13










  • Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
    – rmaddy
    Jun 13 at 4:13










  • I do this, but my question is how to do this in real device? Not in simulator.
    – Augusto
    Jun 13 at 11:32










  • Possible duplicate of Any way to get your SQLite DB off iPhone?
    – Praveen Gowlikar
    Jun 14 at 4:30
















There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
– rmaddy
Jun 13 at 3:00




There is no difference between doing this on a real device and in a simulator. Update your question and explain what you are actually doing and what problem you are actually having.
– rmaddy
Jun 13 at 3:00












I've edited my question with details
– Augusto
Jun 13 at 3:13




I've edited my question with details
– Augusto
Jun 13 at 3:13












Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
– rmaddy
Jun 13 at 4:13




Are you attempting to use the sqlite3 command line tool to inspect the database file? You need to make that clear in your question.
– rmaddy
Jun 13 at 4:13












I do this, but my question is how to do this in real device? Not in simulator.
– Augusto
Jun 13 at 11:32




I do this, but my question is how to do this in real device? Not in simulator.
– Augusto
Jun 13 at 11:32












Possible duplicate of Any way to get your SQLite DB off iPhone?
– Praveen Gowlikar
Jun 14 at 4:30




Possible duplicate of Any way to get your SQLite DB off iPhone?
– Praveen Gowlikar
Jun 14 at 4:30












5 Answers
5






active

oldest

votes


















3














In recent versions of Xcode (8 and up, I think), open this with Window menu --> Devices. Find the device in the device list and look at the installed apps list for the device. Each app that you've built and installed on the device will be listed (and maybe some others). Select your app and click the gear menu below the list. Clicking the "Download" item on the pop-up menu will enable you to copy the app's documents, library, and other directories to your Mac.



NB: This will download an .xcappdata file. Right-clicking on that and selecting "Show Package Contents" will allow you to drill down to the actual sqlite file.



Check out the link may help you -



Any way to get your SQLite DB off iPhone?






share|improve this answer





























    1














    Here's another way:



    In debug mode, add a UIActivityViewController to share(copy) your SQLite database to a Mac or to a third party iOS app like SQLiteFlow(iOS), then you can debug your SQLite database.






    share|improve this answer





























      1














      Xcode 10.1



      In Xcode, go to Window > Devices and Simulators



      enter image description here



      In the Devices tab, select your application, then click on the Gear icon, then click Download Container...
      enter image description here



      Choose the location you want to save the file, then click on Save.



      Go to Finder and find the .xcappdata file you just downloaded, then right click and select Show Package in Contents



      enter image description here



      The contents folder will open. Your .sql file is in AppData > Library > Application Support



      enter image description here



      I recommend downloading DB Browser for SQL File, and opening the .sql file with that. It works wonders!






      share|improve this answer





















      • I must re-download the sqlite file after change by app?
        – Augusto
        Nov 13 at 21:47



















      0














      Files that you've placed in the Documents directly should show up in File Sharing inside iTunes. You can download them locally and edit them there. You'll need to enable it in your app's Info.plist by adding:



      <key>UIFileSharingEnabled</key>
      <true/>
      <key>LSSupportsOpeningDocumentsInPlace</key>
      <true/>


      The second key is actually only required if you want to enable showing these in the Files app.






      share|improve this answer





















      • Don't do this for a production app since the user can delete or rename the file.
        – rmaddy
        Jun 13 at 6:07



















      0














      You cannot access the .sqlite file in realtime when you debug your app using a device. Try accomplishing the same in the simulator and it will work.






      share|improve this answer























      • This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
        – rmaddy
        Jun 13 at 6:06










      • That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
        – Rizwan Ahmed
        Jun 13 at 6:07










      • So, how I copy this file @rmaddy? And access? Do you have my answer.
        – Augusto
        Jun 13 at 11:33












      • @Augusto See the answer by Praveen Gowlikar.
        – rmaddy
        Jun 13 at 14:14











      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50828041%2fhow-to-open-database-sqlite-file-on-iphone-real-device%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      In recent versions of Xcode (8 and up, I think), open this with Window menu --> Devices. Find the device in the device list and look at the installed apps list for the device. Each app that you've built and installed on the device will be listed (and maybe some others). Select your app and click the gear menu below the list. Clicking the "Download" item on the pop-up menu will enable you to copy the app's documents, library, and other directories to your Mac.



      NB: This will download an .xcappdata file. Right-clicking on that and selecting "Show Package Contents" will allow you to drill down to the actual sqlite file.



      Check out the link may help you -



      Any way to get your SQLite DB off iPhone?






      share|improve this answer


























        3














        In recent versions of Xcode (8 and up, I think), open this with Window menu --> Devices. Find the device in the device list and look at the installed apps list for the device. Each app that you've built and installed on the device will be listed (and maybe some others). Select your app and click the gear menu below the list. Clicking the "Download" item on the pop-up menu will enable you to copy the app's documents, library, and other directories to your Mac.



        NB: This will download an .xcappdata file. Right-clicking on that and selecting "Show Package Contents" will allow you to drill down to the actual sqlite file.



        Check out the link may help you -



        Any way to get your SQLite DB off iPhone?






        share|improve this answer
























          3












          3








          3






          In recent versions of Xcode (8 and up, I think), open this with Window menu --> Devices. Find the device in the device list and look at the installed apps list for the device. Each app that you've built and installed on the device will be listed (and maybe some others). Select your app and click the gear menu below the list. Clicking the "Download" item on the pop-up menu will enable you to copy the app's documents, library, and other directories to your Mac.



          NB: This will download an .xcappdata file. Right-clicking on that and selecting "Show Package Contents" will allow you to drill down to the actual sqlite file.



          Check out the link may help you -



          Any way to get your SQLite DB off iPhone?






          share|improve this answer












          In recent versions of Xcode (8 and up, I think), open this with Window menu --> Devices. Find the device in the device list and look at the installed apps list for the device. Each app that you've built and installed on the device will be listed (and maybe some others). Select your app and click the gear menu below the list. Clicking the "Download" item on the pop-up menu will enable you to copy the app's documents, library, and other directories to your Mac.



          NB: This will download an .xcappdata file. Right-clicking on that and selecting "Show Package Contents" will allow you to drill down to the actual sqlite file.



          Check out the link may help you -



          Any way to get your SQLite DB off iPhone?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 13 at 6:48









          Praveen Gowlikar

          294112




          294112

























              1














              Here's another way:



              In debug mode, add a UIActivityViewController to share(copy) your SQLite database to a Mac or to a third party iOS app like SQLiteFlow(iOS), then you can debug your SQLite database.






              share|improve this answer


























                1














                Here's another way:



                In debug mode, add a UIActivityViewController to share(copy) your SQLite database to a Mac or to a third party iOS app like SQLiteFlow(iOS), then you can debug your SQLite database.






                share|improve this answer
























                  1












                  1








                  1






                  Here's another way:



                  In debug mode, add a UIActivityViewController to share(copy) your SQLite database to a Mac or to a third party iOS app like SQLiteFlow(iOS), then you can debug your SQLite database.






                  share|improve this answer












                  Here's another way:



                  In debug mode, add a UIActivityViewController to share(copy) your SQLite database to a Mac or to a third party iOS app like SQLiteFlow(iOS), then you can debug your SQLite database.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 17 at 14:23









                  Tim

                  562




                  562























                      1














                      Xcode 10.1



                      In Xcode, go to Window > Devices and Simulators



                      enter image description here



                      In the Devices tab, select your application, then click on the Gear icon, then click Download Container...
                      enter image description here



                      Choose the location you want to save the file, then click on Save.



                      Go to Finder and find the .xcappdata file you just downloaded, then right click and select Show Package in Contents



                      enter image description here



                      The contents folder will open. Your .sql file is in AppData > Library > Application Support



                      enter image description here



                      I recommend downloading DB Browser for SQL File, and opening the .sql file with that. It works wonders!






                      share|improve this answer





















                      • I must re-download the sqlite file after change by app?
                        – Augusto
                        Nov 13 at 21:47
















                      1














                      Xcode 10.1



                      In Xcode, go to Window > Devices and Simulators



                      enter image description here



                      In the Devices tab, select your application, then click on the Gear icon, then click Download Container...
                      enter image description here



                      Choose the location you want to save the file, then click on Save.



                      Go to Finder and find the .xcappdata file you just downloaded, then right click and select Show Package in Contents



                      enter image description here



                      The contents folder will open. Your .sql file is in AppData > Library > Application Support



                      enter image description here



                      I recommend downloading DB Browser for SQL File, and opening the .sql file with that. It works wonders!






                      share|improve this answer





















                      • I must re-download the sqlite file after change by app?
                        – Augusto
                        Nov 13 at 21:47














                      1












                      1








                      1






                      Xcode 10.1



                      In Xcode, go to Window > Devices and Simulators



                      enter image description here



                      In the Devices tab, select your application, then click on the Gear icon, then click Download Container...
                      enter image description here



                      Choose the location you want to save the file, then click on Save.



                      Go to Finder and find the .xcappdata file you just downloaded, then right click and select Show Package in Contents



                      enter image description here



                      The contents folder will open. Your .sql file is in AppData > Library > Application Support



                      enter image description here



                      I recommend downloading DB Browser for SQL File, and opening the .sql file with that. It works wonders!






                      share|improve this answer












                      Xcode 10.1



                      In Xcode, go to Window > Devices and Simulators



                      enter image description here



                      In the Devices tab, select your application, then click on the Gear icon, then click Download Container...
                      enter image description here



                      Choose the location you want to save the file, then click on Save.



                      Go to Finder and find the .xcappdata file you just downloaded, then right click and select Show Package in Contents



                      enter image description here



                      The contents folder will open. Your .sql file is in AppData > Library > Application Support



                      enter image description here



                      I recommend downloading DB Browser for SQL File, and opening the .sql file with that. It works wonders!







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Nov 13 at 20:58









                      Cherick04

                      314




                      314












                      • I must re-download the sqlite file after change by app?
                        – Augusto
                        Nov 13 at 21:47


















                      • I must re-download the sqlite file after change by app?
                        – Augusto
                        Nov 13 at 21:47
















                      I must re-download the sqlite file after change by app?
                      – Augusto
                      Nov 13 at 21:47




                      I must re-download the sqlite file after change by app?
                      – Augusto
                      Nov 13 at 21:47











                      0














                      Files that you've placed in the Documents directly should show up in File Sharing inside iTunes. You can download them locally and edit them there. You'll need to enable it in your app's Info.plist by adding:



                      <key>UIFileSharingEnabled</key>
                      <true/>
                      <key>LSSupportsOpeningDocumentsInPlace</key>
                      <true/>


                      The second key is actually only required if you want to enable showing these in the Files app.






                      share|improve this answer





















                      • Don't do this for a production app since the user can delete or rename the file.
                        – rmaddy
                        Jun 13 at 6:07
















                      0














                      Files that you've placed in the Documents directly should show up in File Sharing inside iTunes. You can download them locally and edit them there. You'll need to enable it in your app's Info.plist by adding:



                      <key>UIFileSharingEnabled</key>
                      <true/>
                      <key>LSSupportsOpeningDocumentsInPlace</key>
                      <true/>


                      The second key is actually only required if you want to enable showing these in the Files app.






                      share|improve this answer





















                      • Don't do this for a production app since the user can delete or rename the file.
                        – rmaddy
                        Jun 13 at 6:07














                      0












                      0








                      0






                      Files that you've placed in the Documents directly should show up in File Sharing inside iTunes. You can download them locally and edit them there. You'll need to enable it in your app's Info.plist by adding:



                      <key>UIFileSharingEnabled</key>
                      <true/>
                      <key>LSSupportsOpeningDocumentsInPlace</key>
                      <true/>


                      The second key is actually only required if you want to enable showing these in the Files app.






                      share|improve this answer












                      Files that you've placed in the Documents directly should show up in File Sharing inside iTunes. You can download them locally and edit them there. You'll need to enable it in your app's Info.plist by adding:



                      <key>UIFileSharingEnabled</key>
                      <true/>
                      <key>LSSupportsOpeningDocumentsInPlace</key>
                      <true/>


                      The second key is actually only required if you want to enable showing these in the Files app.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jun 13 at 5:59









                      WesJ

                      211




                      211












                      • Don't do this for a production app since the user can delete or rename the file.
                        – rmaddy
                        Jun 13 at 6:07


















                      • Don't do this for a production app since the user can delete or rename the file.
                        – rmaddy
                        Jun 13 at 6:07
















                      Don't do this for a production app since the user can delete or rename the file.
                      – rmaddy
                      Jun 13 at 6:07




                      Don't do this for a production app since the user can delete or rename the file.
                      – rmaddy
                      Jun 13 at 6:07











                      0














                      You cannot access the .sqlite file in realtime when you debug your app using a device. Try accomplishing the same in the simulator and it will work.






                      share|improve this answer























                      • This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                        – rmaddy
                        Jun 13 at 6:06










                      • That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                        – Rizwan Ahmed
                        Jun 13 at 6:07










                      • So, how I copy this file @rmaddy? And access? Do you have my answer.
                        – Augusto
                        Jun 13 at 11:33












                      • @Augusto See the answer by Praveen Gowlikar.
                        – rmaddy
                        Jun 13 at 14:14
















                      0














                      You cannot access the .sqlite file in realtime when you debug your app using a device. Try accomplishing the same in the simulator and it will work.






                      share|improve this answer























                      • This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                        – rmaddy
                        Jun 13 at 6:06










                      • That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                        – Rizwan Ahmed
                        Jun 13 at 6:07










                      • So, how I copy this file @rmaddy? And access? Do you have my answer.
                        – Augusto
                        Jun 13 at 11:33












                      • @Augusto See the answer by Praveen Gowlikar.
                        – rmaddy
                        Jun 13 at 14:14














                      0












                      0








                      0






                      You cannot access the .sqlite file in realtime when you debug your app using a device. Try accomplishing the same in the simulator and it will work.






                      share|improve this answer














                      You cannot access the .sqlite file in realtime when you debug your app using a device. Try accomplishing the same in the simulator and it will work.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jun 13 at 6:08

























                      answered Jun 13 at 5:49









                      Rizwan Ahmed

                      519714




                      519714












                      • This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                        – rmaddy
                        Jun 13 at 6:06










                      • That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                        – Rizwan Ahmed
                        Jun 13 at 6:07










                      • So, how I copy this file @rmaddy? And access? Do you have my answer.
                        – Augusto
                        Jun 13 at 11:33












                      • @Augusto See the answer by Praveen Gowlikar.
                        – rmaddy
                        Jun 13 at 14:14


















                      • This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                        – rmaddy
                        Jun 13 at 6:06










                      • That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                        – Rizwan Ahmed
                        Jun 13 at 6:07










                      • So, how I copy this file @rmaddy? And access? Do you have my answer.
                        – Augusto
                        Jun 13 at 11:33












                      • @Augusto See the answer by Praveen Gowlikar.
                        – rmaddy
                        Jun 13 at 14:14
















                      This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                      – rmaddy
                      Jun 13 at 6:06




                      This is not true. Xcode allows you to download the sandbox of an app in development. Then you can access the copy of the file. It's not realtime like you get in the simulator but it can be accessed.
                      – rmaddy
                      Jun 13 at 6:06












                      That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                      – Rizwan Ahmed
                      Jun 13 at 6:07




                      That's what I meant, you cannot debug it in the realtime. I will edit my answer thanks!
                      – Rizwan Ahmed
                      Jun 13 at 6:07












                      So, how I copy this file @rmaddy? And access? Do you have my answer.
                      – Augusto
                      Jun 13 at 11:33






                      So, how I copy this file @rmaddy? And access? Do you have my answer.
                      – Augusto
                      Jun 13 at 11:33














                      @Augusto See the answer by Praveen Gowlikar.
                      – rmaddy
                      Jun 13 at 14:14




                      @Augusto See the answer by Praveen Gowlikar.
                      – rmaddy
                      Jun 13 at 14:14


















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50828041%2fhow-to-open-database-sqlite-file-on-iphone-real-device%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Guess what letter conforming each word

                      Port of Spain

                      Run scheduled task as local user group (not BUILTIN)