Class: Fastlane::Actions::SighAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES
Class Method Summary
collapse
action_name, authors, lane_context, method_missing, other_action, output, sample_return_value, sh, step_text
Class Method Details
.author ⇒ Object
50
51
52
|
# File 'lib/fastlane/actions/sigh.rb', line 50
def self.author
"KrauseFx"
end
|
.available_options ⇒ Object
62
63
64
65
|
# File 'lib/fastlane/actions/sigh.rb', line 62
def self.available_options
require 'sigh'
Sigh::Options.available_options
end
|
.category ⇒ Object
82
83
84
|
# File 'lib/fastlane/actions/sigh.rb', line 82
def self.category
:code_signing
end
|
.description ⇒ Object
46
47
48
|
# File 'lib/fastlane/actions/sigh.rb', line 46
def self.description
"Generates a provisioning profile. Stores the profile in the current folder"
end
|
.details ⇒ Object
58
59
60
|
# File 'lib/fastlane/actions/sigh.rb', line 58
def self.details
"**Note**: It is recommended to use [match](https://github.com/fastlane/fastlane/tree/master/match) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your provisioning profiles. Use _sigh_ directly only if you want full control over what's going on and know more about codesigning."
end
|
.example_code ⇒ Object
71
72
73
74
75
76
77
78
79
80
|
# File 'lib/fastlane/actions/sigh.rb', line 71
def self.example_code
[
'sigh',
'sigh(
adhoc: true,
force: true,
filename: "myFile.mobileprovision"
)'
]
end
|
.is_supported?(platform) ⇒ Boolean
67
68
69
|
# File 'lib/fastlane/actions/sigh.rb', line 67
def self.is_supported?(platform)
platform == :ios
end
|
.return_value ⇒ Object
54
55
56
|
# File 'lib/fastlane/actions/sigh.rb', line 54
def self.return_value
"The UDID of the profile sigh just fetched/generated"
end
|
.set_profile_type(values, enterprise) ⇒ Object
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/fastlane/actions/sigh.rb', line 35
def self.set_profile_type(values, enterprise)
profile_type = "app-store"
profile_type = "ad-hoc" if values[:adhoc]
profile_type = "development" if values[:development]
profile_type = "enterprise" if enterprise
UI.message("Setting Provisioning Profile type to '#{profile_type}'")
Actions.lane_context[SharedValues::SIGH_PROFILE_TYPE] = profile_type
end
|