module Slather

Constants

VERSION

Public Class Methods

prepare_pods(pods) click to toggle source
# File lib/slather.rb, line 22
def self.prepare_pods(pods)
  Pod::UI.warn("[Slather] prepare_pods is now deprecated. The call to prepare_pods in your Podfile can simply be ommitted.")
end
xcode_version() click to toggle source
# File lib/slather.rb, line 26
def self.xcode_version
  xcode_path = `xcode-select -p`.strip
  plist = CFPropertyList::List.new(:file => File.join(xcode_path, '..', 'Info.plist'))
  xcode_version = CFPropertyList.native_types(plist.value)["CFBundleShortVersionString"]
  xcode_version.split('.').map(&:to_i)
end