Sha256: 039f37a44ee8341a22d103670d3b4a2e00560f2562f737108c8693d02d7171c7

Contents?: true

Size: 559 Bytes

Versions: 15

Compression:

Stored size: 559 Bytes

Contents

module Fastlane
  module Helper
    class XcodesHelper
      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

      def self.find_xcodes_binary_path
        `which xcodes`.strip
      end

      module Verify
        def self.requirement(req)
          UI.user_error!("Version must be specified") if req.nil? || req.to_s.strip.size == 0
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.224.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.223.1 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.223.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.222.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.221.1 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.221.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.220.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.219.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.218.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.217.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.216.0 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.215.1 fastlane/lib/fastlane/helper/xcodes_helper.rb
fastlane-2.215.0 fastlane/lib/fastlane/helper/xcodes_helper.rb