简体   繁体   中英

How to get the console logs in iPhone?

I installed my application in iPhone.I put more NSLogs in the application.I tested it and pull the console logs by using iPhone configuration utility.

At some times it's showing half of the logs (Few minutes before). I want the logs that include statements from application installation and launching of app. It is possible to get entire logs?

  1. Connect iPhone with you Mac
  2. Open XCode -> Window -> Organizer
  3. Select Devices Tab
  4. Select you device and click Console.

Enjoy Live feed.

Cheers.

NSLog outputs to the console in XCode, not on the phone. You can find crash logs in the Diagnostics section of the iPhone settings, but not NSLog output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM