Method: FastlaneCore::IpaFileAnalyser.fetch_info_plist_with_rubyzip

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

.fetch_info_plist_with_rubyzip(path) ⇒ Object



67
68
69
70
71
72
73
# File 'fastlane_core/lib/fastlane_core/ipa_file_analyser.rb', line 67

def self.fetch_info_plist_with_rubyzip(path)
  Zip::File.open(path, "rb") do |zipfile|
    file = zipfile.glob('**/Payload/*.app/Info.plist').first
    return nil unless file
    zipfile.read(file)
  end
end