Class: Gym::Xcode

Inherits:
Object
  • Object
show all
Defined in:
lib/gym/xcode.rb

Class Method Summary collapse

Class Method Details

.pre_7?Boolean

Below Xcode 7 (which offers a new nice API to sign the app)

Returns:

  • (Boolean)


13
14
15
16
17
# File 'lib/gym/xcode.rb', line 13

def pre_7?
  v = xcode_version
  is_pre = v.split('.')[0].to_i < 7
  is_pre
end

.xcode_pathObject



4
5
6
# File 'lib/gym/xcode.rb', line 4

def xcode_path
  Helper.xcode_path
end

.xcode_versionObject



8
9
10
# File 'lib/gym/xcode.rb', line 8

def xcode_version
  Helper.xcode_version
end