Sha256: 0261eab63cbe8c51dc44df9c0b8693b1a9084e093df0cbcdc9e1356023f4923b

Contents?: true

Size: 746 Bytes

Versions: 22

Compression:

Stored size: 746 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?
        UI.user_error!("Unable to locate Xcode. Please make sure to have Xcode installed on your machine") if xcode_version.nil?
        v = xcode_version
        Gem::Version.new(v) >= Gem::Version.new('8.3.0')
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fastlane-2.29.0.beta.20170421010107 gym/lib/gym/xcode.rb
fastlane-2.28.2 gym/lib/gym/xcode.rb
fastlane-2.28.1 gym/lib/gym/xcode.rb
fastlane-2.28.0 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170420010017 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170419010123 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170418010021 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170417010100 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170416010028 gym/lib/gym/xcode.rb
fastlane-2.28.0.beta.20170415010110 gym/lib/gym/xcode.rb
fastlane-2.27.0 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170414010035 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170413010117 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170412010036 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170411010118 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170410010020 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170409010031 gym/lib/gym/xcode.rb
fastlane-2.26.1 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170408010009 gym/lib/gym/xcode.rb
fastlane-2.27.0.beta.20170407010056 gym/lib/gym/xcode.rb