Sha256: d952ec69c5ed9f6a2ea1a554639d893f264d6a14ded4d368d9b361d12796970d

Contents?: true

Size: 613 Bytes

Versions: 660

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

660 entries across 660 versions & 5 rubygems

Version Path
fastlane-2.81.0.beta.20180204010002 gym/lib/gym/xcode.rb
fastlane-2.81.0.beta.20180203010003 gym/lib/gym/xcode.rb
fastlane-2.81.0.beta.20180202010003 gym/lib/gym/xcode.rb
fastlane-2.80.0 gym/lib/gym/xcode.rb
fastlane-2.80.0.beta.20180201010003 gym/lib/gym/xcode.rb
fastlane-2.80.0.beta.20180131010003 gym/lib/gym/xcode.rb
fastlane-2.80.0.beta.20180130010002 gym/lib/gym/xcode.rb
fastlane-2.79.0 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180129010003 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180128010002 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180127010003 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180126010002 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180125010002 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180124010003 gym/lib/gym/xcode.rb
fastlane-2.79.0.beta.20180123010002 gym/lib/gym/xcode.rb
fastlane-2.78.0 gym/lib/gym/xcode.rb
fastlane-2.78.0.beta.20180122010003 gym/lib/gym/xcode.rb
fastlane-2.78.0.beta.20180121010003 gym/lib/gym/xcode.rb
fastlane-2.78.0.beta.20180120010003 gym/lib/gym/xcode.rb
fastlane-2.78.0.beta.20180119010003 gym/lib/gym/xcode.rb