Sha256: 77ae9fd83665abc52612209985c6fad0f5819014c4434d3075ad05218ad20d0e

Contents?: true

Size: 586 Bytes

Versions: 340

Compression:

Stored size: 586 Bytes

Contents

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

340 entries across 340 versions & 1 rubygems

Version Path
fastlane-2.74.0.beta.20180106010004 gym/lib/gym/xcode.rb
fastlane-2.73.0 gym/lib/gym/xcode.rb
fastlane-2.73.0.beta.20180105010003 gym/lib/gym/xcode.rb
fastlane-2.73.0.beta.20180104010004 gym/lib/gym/xcode.rb
fastlane-2.73.0.beta.20180103010003 gym/lib/gym/xcode.rb
fastlane-2.72.0 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20180102010003 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20180101010003 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20171231010003 gym/lib/gym/xcode.rb
fastlane-2.71.1 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20171230010003 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20171229010003 gym/lib/gym/xcode.rb
fastlane-2.72.0.beta.20171228010004 gym/lib/gym/xcode.rb
fastlane-2.71.0 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171227010004 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171226010004 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171225010003 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171224010003 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171223010003 gym/lib/gym/xcode.rb
fastlane-2.71.0.beta.20171222010003 gym/lib/gym/xcode.rb