【问题标题】:How to export .trace file to a csv file in macOS High sierra如何在 macOS High sierra 中将 .trace 文件导出为 csv 文件
【发布时间】:2018-07-23 18:28:18
【问题描述】:

我是 ios 移动自动化的新手。我有一个 .trace 文件我正在尝试通过命令行终端将跟踪转换为 csv 文件或任何可读格式我似乎在我的 macOS High Sierra 版本 10.13 中找不到任何内容 有没有其他方法可以将跟踪转换为 .csv 文件?对此的任何建议将不胜感激。提前致谢。任何可行的例子都会很棒。

【问题讨论】:

    标签: macos export-to-csv instruments xcode-instruments


    【解决方案1】:

    您可以在 Instruments 中将.trace 导出为.csv 格式:

    1. After profiling an app with a trace document, select the instrument containing 
       the data you want to export.
    
    2. Choose Instrument > Export Track for instrument name.
    
    3. Enter a name for the file.
    
    4. Specify a destination for the file.
    

    注意导出的数据旨在与外部应用共享,而不是 重新导入到 Instruments 中。如果要将跟踪数据保存在 Instruments 格式,您应该保存跟踪文档以及 其收集的结果,因此您可以稍后再次打开它。

    仪器导出所选仪器最近一次运行的数据。

    Export and Import Trace Data

    【讨论】:

    • 您能否分享任何示例命令以通过命令行执行此操作
    • @syndy1989:没有 CLI 命令,您从 Instruments.app 导出。
    • @syndy1989,我从来没有提到任何关于 CLI 命令的事情;这怎么不能回答你的问题?
    • 此导出 csv 的功能已被移除
    猜你喜欢
    • 2018-02-15
    • 2018-08-16
    • 1970-01-01
    • 2017-12-22
    • 2021-09-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-07
    相关资源
    最近更新 更多