ios iphone 将log在终端输出
对于模拟器,其在终端的log文件位于: ~/Library/Logs/CoreSimulator/C4B94BA6-EF08-4AD2-AE7D-1A3A2E2AC545/system.log
对于真机:
Here‘s how:
- Grab the libimobiledevice binary for Mac OS X from my github account athttps://github.com/benvium/libimobiledevice-macosx/zipball/master
- Follow the install instructions here:
https://github.com/benvium/libimobiledevice-macosx/blob/master/README.md
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
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。