Method: AppInfo::MobileProvision#platform

Defined in:
lib/app_info/mobile_provision.rb

#platformSymbol

Returns Platform.

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/app_info/mobile_provision.rb', line 16

def platform
  case platforms[0]
  when :macos
    Platform::MACOS
  when :ios
    Platform::IOS
  when :tvos
    Platform::APPLETV
  else
    raise NotImplementedError, "Unkonwn platform: #{platforms[0]}"
  end
end