Reveal UI analysis tool for analyzing mobile apps and revealui

Source: Internet
Author: User

Reveal UI analysis tool for analyzing mobile apps and revealui

The previous article introduced the simple use of Reveal UI analysis tools.

This section describes how to use the Reveal UI analysis tool to analyze the UI of the mobile App.



(1) Mac with Reveal installed

(2) jailbroken iPhone

(3) Good Network Environment



Recall that when we use Reveal to analyze the iPhone Simulator App, We reference and load Reveal in the specified project of Xcode. framework file, so that when the App is running, open Reveal and select to connect to the current App to perform its UI analysis. The key point is "reference and load the Reveal. framework file in the specified project 」.

The mobile App has already been deployed on our mobile phone. It is impossible for us to "get started" the App installation package so that it can load Reveal-related files. What should we do?


This is a good question. However, in the jailbreak iPhone, The iFile App found that there is a shared dynamic Library directory "/Library/MobileSubstrate/DynamicLibraries" in iOS, which is stored in this directory. the dylib suffix file can be called by the App on demand. Now again, how can I copy Reveal-related files from Mac to this directory on the iPhone?


The answer is: first install "OpenSSH" on the iPhone through the Cydia App; then, on the Mac terminal, use commands to transfer files over the SSH protocol.


PS: OpenSSH is the basic communication service protocol on which WinSCP depends: OpenSSH is a widely used SSH program. SSH is short for Secure Shell, which is a Secure command line, SSH is a protocol that ensures remote logon to the system. iOS is a customized OS X system based on the underlying Linux kernel of BSD, therefore, you can use this communication protocol to remotely (not on the local machine) log on to an SSH device, so as to remotely enter commands on a PC (Mac) to operate iOS devices.

Next, let's get started.



1. install OpenSSH on the iPhone

  • Open Cydia on iPhone

  • Select search in the lower-right corner and enter OpenSSH

  • Select OpenSSH from the search results.

  • Click Install in the upper-right corner of the screen



2. test whether the Mac can connect to the iPhone

  • Putting Mac and iPhone in the same wifi Environment

  • Enter ssh root @ IP on the Mac terminal (this IP is the IP address on the iPhone, for example, the IP address on my iPhone is, then enter the command: ssh root@

  • After a while, enter the password (no echo operation). The default password is alpine (we recommend that you do not change the default password, but you can change it for security reasons. For more information, see Step 1)

  • After the connection is successful, you can manage the files on the iPhone.

  • Enter exit to exit (Here we just want to test whether the iPhone can be connected)


3. Modify the iPhone's root and mobile account passwords (Note: Be careful when performing this operation. Remember the modified password: for example, set the password to your easy-to-remember dial-up account) (optional)

1 // use the root account to log on 2 ssh root@ // enter the account password to log on successfully, then enter the following command, then enter the old password and new password as needed (no echo ), modify the root account password 4 passwd5 // log out and log out 6 exit
1 // use a mobile account to log on. If the root account is logged on, enter the su-mobile command to switch to mobile Account Login 2 ssh mobile@ // enter the account password login successful, then enter the following command, then, enter the old password and new password (no echo) as needed, and modify the mobile account password 4 passwd5 // log out and log on 6 exit


4. Prepare to upload files

  • Open Reveal, click Help on the menu bar, and select Show Reveal Library in Finder.

  • Copy libReveal. dylib to the desktop for convenient operations

  • Create libReveal. plist on the desktop, and enter the BundleId of the App you want to analyze. Multiple bundleids are supported. For example, AppStore (in fact, you can analyze all apps without entering them, but the machine will slow down to what you cannot imagine, or boot white apple, it is recommended to specify an analysis App)

1 {      2     Filter = {          3         Bundles = (4             ""5         );    6     }; 7 }




5. upload files to the iPhone (for Mac terminals)

1 // upload libReveal. dylib and libReveal. plist to iPhone ( is the IP address on iPhone) 2 scp Desktop/libReveal. dylib root@ scp Desktop/libReveal. root@


6. Restart the iPhone)

If you have successfully completed the above steps and the iPhone has restarted successfully, OK. Now you can analyze the App.

  • Open Reveal, open the App you specified on the iPhone, and select App in the upper left corner of Reveal

  • After switching the page, you can click Refresh in the upper-right corner of Reveal.


Related Article

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: 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.