Sha256: 6ee800869f66b80c846cbf2016f371f8209b8f9b5d7b9b7f0f8d9dc82f1dc231

Contents?: true

Size: 490 Bytes

Versions: 107

Compression:

Stored size: 490 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
    end
  end
end

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
gym-1.11.1 lib/gym/xcode.rb
gym-1.11.0 lib/gym/xcode.rb
gym-1.10.0 lib/gym/xcode.rb
gym-1.9.0 lib/gym/xcode.rb
gym-1.8.0 lib/gym/xcode.rb
gym-1.7.0 lib/gym/xcode.rb
gym-1.6.3 lib/gym/xcode.rb