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.113.0.beta.20181220200101 gym/lib/gym/xcode.rb
fastlane-2.113.0.beta.20181219200044 gym/lib/gym/xcode.rb
fastlane-2.112.0 gym/lib/gym/xcode.rb
fastlane-2.112.0.beta.20181218200038 gym/lib/gym/xcode.rb
fastlane-2.112.0.beta.20181217200025 gym/lib/gym/xcode.rb
fastlane-2.112.0.beta.20181216200018 gym/lib/gym/xcode.rb
fastlane-2.112.0.beta.20181215200110 gym/lib/gym/xcode.rb
fastlane-2.112.0.beta.20181214200045 gym/lib/gym/xcode.rb
fastlane-2.111.0 gym/lib/gym/xcode.rb
fastlane-2.111.0.beta.20181213200033 gym/lib/gym/xcode.rb
fastlane-2.111.0.beta.20181213171204 gym/lib/gym/xcode.rb
fastlane-2.111.0.beta.20181211193527 gym/lib/gym/xcode.rb
fastlane-2.111.0.beta.20181211193027 gym/lib/gym/xcode.rb
fastlane-2.110.0 gym/lib/gym/xcode.rb
fastlane-2.109.1 gym/lib/gym/xcode.rb
fastlane-2.109.0 gym/lib/gym/xcode.rb
fastlane-2.108.0 gym/lib/gym/xcode.rb
fastlane-2.107.0 gym/lib/gym/xcode.rb
fastlane-2.106.2 gym/lib/gym/xcode.rb
fastlane-2.106.1 gym/lib/gym/xcode.rb