Skip to content

RyukieSama/BuildTimeAnalyzer-for-Xcode

 
 

Repository files navigation

Build Time Analyzer for Xcode 中文使用手册

GitHub release Swift Platform MIT

原ReadMe

使用说明

首先 Clone 项目代码(或者直接下载代码)

git clone https://github.com/RyukieSama/BuildTimeAnalyzer-for-Xcode.git

一、 项目配置

BuildSettingsother swift flags 下添加下面的配置:

  • -Xfrontend -debug-time-function-bodies

然后 Clean 项目,重新 Build

二、 打开 BuildTimeAnalyzer.xcodeproj

这里有两种方式来使用

1. 直接运行

直接运行

2. 导出App

Product - Archive

导出App

导出一个App文件,以后即可直接使用了。

App

3. 懒人方式-下载即用

这里我搞好了一个包,直接可用。支持 IntelApple Silicon

BuildTimeAnalyzer.zip

三、 查看日志

04

在列表中点击刚才自己的配置完成并编译后的项目,即可查看日志。

05

显示了整体编译耗时,还标有具体代码的行数与函数名,点击可跳转。

About

Swift编译耗时检测工具BuildTimeAnalyzer中文手册

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 88.2%
  • Objective-C 11.8%