giginet / xcprofiler

:chart_with_upwards_trend: CLI to profile compilation time of Swift project
MIT License
332 stars 13 forks source link

Specifying scheme for profiling #22

Open Shivam101 opened 7 years ago

Shivam101 commented 7 years ago

I have multiple schemes setup in my app for debug, staging and release. I would not want to add the Swift flag to all of the schemes to use XCProfiler. Is there a way to specify the scheme to be profiled ?

giginet commented 7 years ago

@Shivam101 Sorry for my late response 😔

xcprofiler parses the last activity log. So you needn't specify the target. If you have multiple configurations on your project(e.g. Debug/Release). You can add the compiler flag to one target.

screen shot 2017-08-11 at 14 00 11