class Fastlane::Actions::InstallProvisioningProfileAction

Public Class Methods

authors() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 19
def self.authors
  ["SofteqDG"]
end
available_options() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 31
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :path,
                            env_name: "FL_INSTALL_PROVISIONING_PROFILE_PATH",
                         description: "Path to provisioning profile",
                            optional: false,
                                type: String,
                        verify_block: proc do |value|
                          absolute_path = File.expand_path(value)
                          unless File.exist?(absolute_path)
                            UI.user_error!("Could not find provisioning profile at path: '#{value}'")
                          end
                        end)
  ]
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 23
def self.category
  :code_signing
end
description() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 11
def self.description
  "Install provisioning profile from path"
end
details() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 15
def self.details
  "Install provisioning profile from path for current user"
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 55
def self.example_code
  [
    'install_provisioning_profile(path: "profiles/profile.mobileprovision")'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 27
def self.is_supported?(platform)
  [:ios, :mac].include?(platform)
end
return_type() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 51
def self.return_type
  :string
end
return_value() click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 47
def self.return_value
  "The absolute path to the installed provisioning profile"
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/install_provisioning_profile.rb, line 6
def self.run(params)
  absolute_path = File.expand_path(params[:path])
  FastlaneCore::ProvisioningProfile.install(absolute_path)
end