sigh/lib/sigh/runner.rb in fastlane-2.3.1 vs sigh/lib/sigh/runner.rb in fastlane-2.4.0
- old
+ new
@@ -129,13 +129,15 @@
UI.error "The name '#{name}' is already taken, using another one."
name += " #{Time.now.to_i}"
end
end
- UI.important "Creating new provisioning profile for '#{Sigh.config[:app_identifier]}' with name '#{name}'"
+ UI.important "Creating new provisioning profile for '#{Sigh.config[:app_identifier]}' with name '#{name} for #{Sigh.config[:platform]} platform'"
profile = profile_type.create!(name: name,
bundle_id: bundle_id,
- certificate: cert)
+ certificate: cert,
+ mac: Sigh.config[:platform].to_s == 'macos',
+ sub_platform: Sigh.config[:platform].to_s == 'tvos' ? 'tvos' : nil)
profile
end
# Certificate to use based on the current distribution mode
def certificate_to_use