iOS (iPhone, iPad, iPodTouch) view real-time console log terminal
how to get device logs from iphone without xcode
how do i get my ios device console log?
iphone safari console log
ios network logs
ios bluetooth logs
Is there a way to view the real-time console log to view NSLog and other debug messages in a real-time manner, such as adb logcat?
The solution documented by Apple in Technical Q&A QA1747 Debugging Deployed iOS Apps for Xcode 6 is:
- Choose Window -> Devices from the Xcode menu.
- Choose the device in the left column.
- Click the up-triangle at the bottom left of the right hand panel to show the device console.
How to View Your iPhone's Debug Log/Console, How to view the iPhone console/debug log, even on Windows where Apple See what apps your teen is using on their iPhone, iPad, iPod Touch and If you're comfortable using Windows command prompt or power shell, you but would love to make sure there is interest before taking the time to do so. How to use Console on macOS to view the iPhone debug console: On macOS High Sierra, Mojave, and Catalina, you can use the built-in Console app to access the iPhone debugging log. Open the Console app, by searching for Console in the spotlight search (magnifying glass) in the upper right corner.
EDIT: Please use @cbowns solution - deviceconsole is compatible with iOS9 and much easier to use.
This is a open-source program that displays the iDevice's system log in Terminal (in a manner similar to tail -F). No jailbreak is required, and the output is fully grep'able so you can filter to see output from your program only. What's particularly good about this solution is you can view the log whether or not the app was launched in debug mode from XCode.
Grab the libimobiledevice binary for Mac OS X from my github account at https://github.com/benvium/libimobiledevice-macosx/zipball/master
Follow the install instructions here: https://github.com/benvium/libimobiledevice-macosx/blob/master/README.md
Connect your device, open up Terminal.app and type:
Up pops a real-time display of the device's system log.
With it being a console app, you can filter the log using unix commands, such as grep
For instance, see all log messages from a particular app:
idevicesyslog | grep myappname
Taken from my blog at http://pervasivecode.blogspot.co.uk/2012/06/view-log-output-of-any-app-on-iphone-or.html
How to View Logs from iPhone and iPad on a Mac, The Console Log data updates rapidly as events are occurring on the iOS device, for example if you're connecting to or disconnecting from a wi-fi Download Get Console and enjoy it on your iPhone, iPad, and iPod touch. Get Console is a powerful and complete terminal app that provides physical serial console access to network and other equipment as well as SSHv2, Telnet, Scripting, TFTP Server, full Logging, integration with Dropbox, iCloud and instant Screen Sharing.
I've written more about that on Tumblr tl;dr:
brew install libimobiledevice idevice_id --list // list available device UDIDs idevicesyslog -u <device udid>
with the device connected via USB or available on the local wireless network.
From 2013: deviceconsole from rpetrich is a much less wacked-out solution than ideviceconsole above. My fork of it builds and runs in Xcode 5 out of the box, and the Build action will install the binary to
/usr/local/bin for ease of use.
As an additional helpful bit of info, I use it in the following style which makes it easy to find the device I want in my shell history and removes unnecessary
> lines that
deviceconsole prints out.
deviceconsole -d -u <device UDID> | uniq -u && echo "<device name>"
Diagnosing Issues Using Crash Reports and Device Logs, Device console logs contain detailed information on operations that occur in or a testing team, require you to use crash reports and device logs to the complete backtrace of each thread, which shows the code running at the time of the crash. When your app crashes due to memory pressure, see Gathering Information We’ve talked about the iPhone Configuration Utility before, the enterprise iPhone management and setup tool, but there’s another nice feature in the app; the Console. This console allows you to see what activity is going on with iOS on an iPhone, Ipad, or iPod touch, just like the Console with system logs does on Mac OS X.
Just open the Application
Console.app on mac osX.
You can find it under
On the left side of the application all your connected devices are listed.
View content caching logs and statistics on Mac, AssetCache. You can use the log command in Terminal to view the logs, or you can use the Console app to view the logs. On your Mac, do any of the following:. Read reviews, compare customer ratings, see screenshots, and learn more about Dataplicity - Terminal for Pi. Download Dataplicity - Terminal for Pi and enjoy it on your iPhone, iPad, and iPod touch.
Try the freeware iOS Console. Just download, launch, connect your device -- et voila!
View log messages in Console on Mac, In the Console app on your Mac, in the Devices list on the left, select the device you want to view log messages for (such as your Mac, iPhone, iPad, Apple ITmanager.net includes a free 14 day trial of the ITmanager.net Service, after the trial you must purchase a Subscription. Your payment will be charged to your iTunes account at confirmation of purchase. Your subscription will automatically renew each month or year 24-hours before the end of the current period,
Get Console on the App Store, Read reviews, compare customer ratings, see screenshots, and learn more about Get Download Get Console and enjoy it on your iPhone, iPad, and iPod touch. Get Console is a powerful and complete terminal app that provides physical Free integrated cloud storage on get-console.com or Dropbox.com for log files Download AWS Console and enjoy it on your iPhone, iPad and iPod touch. The AWS Console Mobile Application, provided by Amazon Web Services, lets customers view and manage resources to support incident response while on-the-go.
How to obtain iOS device logs using Mac and Windows, Click on Console from the menu on the top left corner of the new window. You can Click on the up-triangle on the bottom of the screen to view device logs. When you are ready to reproduce the issue, click on Real-time log under Advanced Features. Apple MDM · iPad MDM · Mac UEM · Apple TV MDM · Android MDM 153 iOS (iPhone, iPad, iPodTouch) view real-time console log terminal Feb 18 '15 119 Animate UIButton state change Aug 18 '12 52 Suppress warning: Meta method xx in category from xx conflicts with same method from another category Aug 25 '12
How to Use Web Inspector to Debug Mobile Safari (iPhone or iPad , Developing web pages for mobile devices or debugging your hybrid app is often difficult. you sign into the same Apple ID on the computer as your iPhone, iPad, or iPod touch Web Developer view on Safari using Mac 6 or earlier, your device's Safari web browser has its own built-in Debug Console! iOS (iPhone, iPad, iPodTouch) affichage en temps réel du journal de la console terminal y a-t-il un moyen de visualiser le journal en temps réel de la console pour visualiser les messages NSLog et autres messages de débogage en temps réel, comme adb logcat?
- Are you saying you want some IOS equivalent of
- possible duplicate of objective c iphone : can we view console log on device
- In my opinion, this is the easiest solution.
- In Xcode 6.4, I see a button saying "View Device Logs", but which gives me crash logs. I don't see a way to get the console log.
- I have added a screenshot with the up-triangle icon.
NSLoginstead. Or it might be possible to redirect
stdoutto a file with some added code. Crashes are logged and can be accessed using "View Device Logs" button.
- This button has been retired in xCode 9.3. It now has a "Console.app" button, which makes way more sense.
- It seems like this doesn't work with the iOS simulator. Bummer.
No device found, is it plugged in?
- It cannot work on iOS10. "usbmuxd_send: Error -1 when sending: Broken pipe" How to solve it?
- When I run idevicesys without sudo, I get a cryptic error about "Could not start service com.apple.syslog_relay". Maybe it depends on how you install it or something.
- Do this if it isn't working for you...
brew uninstall libimobiledevice ideviceinstaller && brew install --HEAD libimobiledevice ideviceinstaller
- Thanks for this post. It is exactly what I was looking for. I can't wait to add iOS into my GUI mobile LogCat tool: github.com/yepher/LogCat
- This is awesome - took 2 minutes to compile and run. This should be the accepted answer.
- This is a lovely solution. And just wanted to add that the collection still works for iOS8 (as it should!)