Sha256: d952ec69c5ed9f6a2ea1a554639d893f264d6a14ded4d368d9b361d12796970d

Contents?: true

Size: 613 Bytes

Versions: 661

Compression:

Stored size: 613 Bytes

Contents

require_relative 'module'

module Gym
  class Xcode
    class << self
      def xcode_path
        Helper.xcode_path
      end

      def xcode_version
        Helper.xcode_version
      end

      # Below Xcode 7 (which offers a new nice API to sign the app)
      def pre_7?
        UI.user_error!("Unable to locate Xcode. Please make sure to have Xcode installed on your machine") if xcode_version.nil?
        v = xcode_version
        is_pre = v.split('.')[0].to_i < 7
        is_pre
      end

      def legacy_api_deprecated?
        FastlaneCore::Helper.xcode_at_least?('8.3')
      end
    end
  end
end

Version data entries

661 entries across 661 versions & 5 rubygems

Version Path
fastlane-2.122.0.beta.20190427200023 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190426200020 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190425200104 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190424200026 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190423200058 gym/lib/gym/xcode.rb
fastlane-2.121.1 gym/lib/gym/xcode.rb
fastlane-2.121.0 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190422200029 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190421200026 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190420200032 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190419200010 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190418200030 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190417200018 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190416200048 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190415200032 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190414200028 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190413200059 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190412200021 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190411200023 gym/lib/gym/xcode.rb
fastlane-2.121.0.beta.20190410200018 gym/lib/gym/xcode.rb