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.124.0.beta.20190516200101 gym/lib/gym/xcode.rb
fastlane-2.124.0.beta.20190515200049 gym/lib/gym/xcode.rb
fastlane-2.123.0 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190514200021 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190513200032 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190512200017 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190511200023 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190510200014 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190509200030 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190508200056 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190507200014 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190506200027 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190505200037 gym/lib/gym/xcode.rb
fastlane-2.123.0.beta.20190504200051 gym/lib/gym/xcode.rb
fastlane-2.122.0 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190502200046 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190501200015 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190430200043 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190429200122 gym/lib/gym/xcode.rb
fastlane-2.122.0.beta.20190428200018 gym/lib/gym/xcode.rb