Export instruments trace data via command-line for leaks

為{幸葍}努か 提交于 2020-01-04 13:13:26

问题


I am using the following script to run leaks instruments from the command-line.

instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/templates/Leaks.tracetemplate <app path>

after executing the command, i get instrumentscli0.trace file. How can i get readable data about leaks from that file.

Is there any way to export the results to a text file via any command. In automation template we can specify an output folder using the switch -e UIARESULTSPATH.


回答1:


you can click "instrument > export data" in the menu to export the recent result to a .csv file. but i don't know how to do it with command line



来源:https://stackoverflow.com/questions/14109217/export-instruments-trace-data-via-command-line-for-leaks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!