ios-viewing a real-machine sandbox file (with XOCDE) + Emulator view sandbox files

Source: Internet
Author: User

iOS in the development process generally use the real machine to test, the real machine view sandbox tried itools and Ifunbox both after iOS upgrade to 9.0 lost effect. Find a way to view your real-world sandbox files via Xcode on the web

In the sandbox mechanism (sandbox) of iOS development, we learned how to view the sandbox content of the simulator. Go directly to the folder in Finder-> to enter:

/users/ligang/library/application Support/iphone simulator/
This allows you to view the sandbox contents of the emulator. In peacetime development, we should mostly use the real machine test. If you need to manipulate the files in the sandbox, we can determine whether the file operation is correct by observing the contents of the real-machine sandbox.

If you already know how to view the sandbox of a real machine, check out the other articles here, where the online site search can search for more articles about iOS development. Next, you'll learn more about how to view the real-machine sandbox in a graphic way. Interested students can continue to look down.

View the real-machine sandbox tutorial

Open devices

In the upper navigation bar of Xcode, select Window---Devices

Take Izar Software Example:
Download Container Save to desktop

As shown, there is a download Container, which, after selection, is saved to the desktop.

After saving to the desktop

Double-click to open Package contents

This is the sandbox of the app, where we can make additions and deletions to the file to check and change the operation

Supplemental View Simulator Sandbox method:
1. In the code, add:

NSLog(@"沙盒路径:%@", NSHomeDirectory());

You can print out the path of the sandbox in your computer and view it directly in the Finder using the Command+g input path

2. Using the software simpholders
Download Link:
https://simpholders.com/

ios-viewing a real-machine sandbox file (with XOCDE) + Emulator view sandbox files

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.