lib/sigh/runner.rb in sigh-1.11.0 vs lib/sigh/runner.rb in sigh-1.11.1
- old
+ new
@@ -196,10 +196,10 @@
end
# Downloads and stores the provisioning profile
def download_profile(profile)
UI.important "Downloading provisioning profile..."
- profile_name ||= "#{profile.class.pretty_type}_#{Sigh.config[:app_identifier]}.mobileprovision" # default name
+ profile_name ||= "#{profile_type.pretty_type}_#{Sigh.config[:app_identifier]}.mobileprovision" # default name
profile_name += '.mobileprovision' unless profile_name.include? 'mobileprovision'
tmp_path = Dir.mktmpdir("profile_download")
output_path = File.join(tmp_path, profile_name)
File.open(output_path, "wb") do |f|