iOS uses reveal to analyze someone else's app interface

Source: Internet
Author: User

Not sure if the interface structure is reasonable? The simplest way is to see what others are doing, such as QQ.

The method is also relatively simple, is a tool: Reveal. Let's talk about how to use it.


Test environment: Mac OSX 10.10/xcode 6.3/ios7.1.2/reveal 1.5.1


Installation:

First go to http://revealapp.com/download/ to download the file, unzip directly run, you can see the interface. It is highly recommended that you copy the downloaded reveal to your Mac's "application".


Debug your App

Reveal is primarily used to debug your app, but someone has developed a way to see all the apps. Now Xcode has integrated the interface analysis tools, so, using reveal analysis to debug their own app is not so important, interested can go: http://support.revealapp.com/kb/getting-started/ Integrating-reveal-static-linking. The official website said very detailed, here is not introduced.


Debug someone Else App

Escape

Debugging other people's app first to jailbreak the iphone, about how to escape, Baidu can be, to note that the best way to close the jailbreak "Find My iphone Features", and will be the power-on password to clear, or may be jailbroken unsuccessful, at least I have encountered for this reason can not escape the situation.

After the jailbreak is complete, install OpenSSH and MobileSubstrate (now renamed: Cydia substrate) by Cydia (a software source installed automatically after jailbreak), note that Cydia need to update the software source after the first boot, so the app may not be searchable. This time, let Cydia update after the search on the line, a bit like Ubuntu apt-get update.


By OpenSSH Copy the framework and dylib to the jailbreak machine

    Scp-r/applications/reveal.app/contents/sharedsupport/ios-libraries/reveal.framework [Email protected]:/System/ Library/frameworks    scp/applications/reveal.app/contents/sharedsupport/ios-libraries/libreveal.dylib [email Protected]:/library/mobilesubstrate/dynamiclibraries

Note that the reveal path is correct when copying, and that the IP address of the iphone is correct. The default password for OpenSSH root account is:Alpine


Edit Libreveal.plist

Re- /library/mobilesubstrate/dynamiclibraries/ the iphone Directory to create the file libreveal.plist, of course, can also be created on the computer after editing to copy to the iphone, the same way as the above copy framework.

Libreveal.plist content as follows (here has been appstore for example), Bundles write to analyze the bundle of the app, you can make more than one line, just write "Bundles = ..." On the line:

{       Filter = {           Bundles = ("Com.apple.AppStore");       };   }

About bundles, you can use the PP helper to view the app folder, in the application directory of the Itunesmetadata.plist file, Softwareversionbundleid a. However, my PP helper can not export this file alone, you need to export the entire software to view, the reason is unknown.


Restart the Jailbreak iphone

Then you can open reveal to see how other people's apps are laid out. Note that the iphone and the machine that installs the reveal must be on the same network.


Here is QQ (information has been applied):





iOS uses reveal to analyze someone else's app interface

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