iOS Live View app run log

Source: Internet
Author: User

Objective:

This article discusses how to view the log output in the console console in real time.

First, Xcode

Open the Devices interface via Window->devices, select our phone, and see the log of the process output running in your phone. Second, Libimobiledevice

Installing Libimobiledevice is simple, at the command line type:

Brew Install--HEAD libimobiledevice Note, need to add –HEAD option, if not add, install is old version, does not support iOS10 phone, so install, need to add –HEAD option

1. Using Idevicesyslog

At the command line, enter: Idevicesyslog
You can see all the logs on your phone on the screen. 2. View the logs we want
1>> iphone.log & The command is to import the log into the Iphone.log file, and it is executed in the background.  2) use tail--'qq' # to view the line containing QQ
such as: third, the console

After using various methods to view the app log, still feel that the Apple system comes with tools to use the most convenient, do not install, without command line, fool-like operation, very convenient.

Connect your phone, open the console app in launchpad other files, or search Console.app to open the console app, and you can see our mobile device in the left column, select Yes,
The log on the right output has not only our own app but also the log of other processes, how to filter? Very simple, select one of our logs, right-click on the process name, select Show Process name, then just show the log of our app. If there is no process name in the displayed column name, we can right-click on the other column names and tick the process on the popup menu. Display WeChat print out the log:

Above, according to personal habits to choose tools.

iOS Live View app run log

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.