lib/run_loop/xctools.rb in run_loop-1.2.8 vs lib/run_loop/xctools.rb in run_loop-1.2.9
- old
+ new
@@ -123,11 +123,11 @@
#```
#
# @return [String] path to current developer directory
def xcode_developer_dir
@xcode_developer_dir ||=
- if ENV['DEVELOPER_DIR']
- ENV['DEVELOPER_DIR']
+ if RunLoop::Environment.developer_dir
+ RunLoop::Environment.developer_dir
else
# fall back to xcode-select
`xcode-select --print-path`.chomp
end
end