Class: Fastlane::Helper::XcodesHelper

Inherits:
Object
  • Object
show all
Defined in:
fastlane/lib/fastlane/helper/xcodes_helper.rb

Defined Under Namespace

Modules: Verify

Class Method Summary collapse

Class Method Details

.find_xcodes_binary_pathObject



14
15
16
# File 'fastlane/lib/fastlane/helper/xcodes_helper.rb', line 14

def self.find_xcodes_binary_path
  `which xcodes`.strip
end

.read_xcode_version_fileObject



4
5
6
7
8
9
10
11
12
# File 'fastlane/lib/fastlane/helper/xcodes_helper.rb', line 4

def self.read_xcode_version_file
  xcode_version_paths = Dir.glob(".xcode-version")

  if xcode_version_paths.first
    return File.read(xcode_version_paths.first).strip
  end

  return nil
end