xcode-build-times-rendering icon indicating copy to clipboard operation
xcode-build-times-rendering copied to clipboard

generate run error

Open yonat opened this issue 6 years ago • 2 comments

when running generate I get the following error:

$ xcode-build-times generate
[CHART] Will copy chart to /Users/-deleted-details-
/Library/Ruby/Gems/2.3.0/gems/xcode-build-times-0.1.1/lib/xcode-build-times.rb:107:in `generate_events_js': uninitialized constant XcodeBuildTimer::FileUtils (NameError)
Did you mean?  FileTest
	from /Library/Ruby/Gems/2.3.0/gems/xcode-build-times-0.1.1/bin/xcode-build-times:33:in `<top (required)>'
	from /usr/local/bin/xcode-build-times:22:in `load'
	from /usr/local/bin/xcode-build-times:22:in `<main>'

yonat avatar Aug 11 '19 08:08 yonat

Got same problem trying to provide path to events file

serkrapiv avatar Nov 20 '19 19:11 serkrapiv

Add 'require 'fileutils' to top of xcode-build-times.rb.

garynewby avatar Feb 13 '20 14:02 garynewby