Method: FastlaneCore::IpaFileAnalyser.fetch_app_version

Defined in:
fastlane_core/lib/fastlane_core/ipa_file_analyser.rb

.fetch_app_version(path) ⇒ Object

Fetches the app version from the given ipa file.



17
18
19
20
21
# File 'fastlane_core/lib/fastlane_core/ipa_file_analyser.rb', line 17

def self.fetch_app_version(path)
  plist = self.fetch_info_plist_file(path)
  return plist['CFBundleShortVersionString'] if plist
  return nil
end