fastlane 1.104.0 → 1.105.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/lib/.DS_Store +0 -0
  3. data/lib/assets/.DS_Store +0 -0
  4. data/lib/assets/Actions.md.erb +78 -0
  5. data/lib/assets/AvailablePlugins.md.erb +2 -2
  6. data/lib/{fastlane/plugins → assets/completions}/.DS_Store +0 -0
  7. data/lib/fastlane/.DS_Store +0 -0
  8. data/lib/fastlane/action.rb +33 -0
  9. data/lib/fastlane/actions/.DS_Store +0 -0
  10. data/lib/fastlane/actions/adb.rb +12 -0
  11. data/lib/fastlane/actions/adb_devices.rb +21 -2
  12. data/lib/fastlane/actions/add_git_tag.rb +31 -0
  13. data/lib/fastlane/actions/appaloosa.rb +27 -0
  14. data/lib/fastlane/actions/appetize.rb +23 -1
  15. data/lib/fastlane/actions/appetize_viewing_url_generator.rb +3 -1
  16. data/lib/fastlane/actions/appium.rb +18 -0
  17. data/lib/fastlane/actions/appledoc.rb +24 -0
  18. data/lib/fastlane/actions/appstore.rb +8 -0
  19. data/lib/fastlane/actions/apteligent.rb +13 -0
  20. data/lib/fastlane/actions/artifactory.rb +17 -0
  21. data/lib/fastlane/actions/backup_file.rb +10 -0
  22. data/lib/fastlane/actions/backup_xcarchive.rb +15 -0
  23. data/lib/fastlane/actions/badge.rb +15 -1
  24. data/lib/fastlane/actions/build_and_upload_to_appetize.rb +14 -1
  25. data/lib/fastlane/actions/bundle_install.rb +9 -0
  26. data/lib/fastlane/actions/carthage.rb +23 -0
  27. data/lib/fastlane/actions/cert.rb +21 -0
  28. data/lib/fastlane/actions/changelog_from_git_commits.rb +16 -0
  29. data/lib/fastlane/actions/chatwork.rb +20 -1
  30. data/lib/fastlane/actions/clean_build_artifacts.rb +19 -1
  31. data/lib/fastlane/actions/clean_cocoapods_cache.rb +11 -0
  32. data/lib/fastlane/actions/clear_derived_data.rb +11 -0
  33. data/lib/fastlane/actions/clipboard.rb +11 -0
  34. data/lib/fastlane/actions/cloc.rb +18 -1
  35. data/lib/fastlane/actions/cocoapods.rb +18 -0
  36. data/lib/fastlane/actions/commit_version_bump.rb +30 -0
  37. data/lib/fastlane/actions/copy_artifacts.rb +25 -0
  38. data/lib/fastlane/actions/crashlytics.rb +24 -1
  39. data/lib/fastlane/actions/create_keychain.rb +16 -0
  40. data/lib/fastlane/actions/create_pull_request.rb +18 -0
  41. data/lib/fastlane/actions/danger.rb +20 -1
  42. data/lib/fastlane/actions/debug.rb +10 -0
  43. data/lib/fastlane/actions/default_platform.rb +10 -0
  44. data/lib/fastlane/actions/delete_keychain.rb +14 -0
  45. data/lib/fastlane/actions/deliver.rb +26 -0
  46. data/lib/fastlane/actions/deploygate.rb +25 -2
  47. data/lib/fastlane/{plugins/templates → actions/device_grid}/.DS_Store +0 -0
  48. data/lib/fastlane/actions/dotgpg_environment.rb +10 -0
  49. data/lib/fastlane/actions/download.rb +10 -0
  50. data/lib/fastlane/actions/download_dsyms.rb +20 -2
  51. data/lib/fastlane/actions/dsym_zip.rb +17 -0
  52. data/lib/fastlane/actions/ensure_git_branch.rb +21 -0
  53. data/lib/fastlane/actions/ensure_git_status_clean.rb +18 -0
  54. data/lib/fastlane/actions/ensure_no_debug_code.rb +21 -1
  55. data/lib/fastlane/actions/ensure_xcode_version.rb +8 -0
  56. data/lib/fastlane/actions/erb.rb +30 -1
  57. data/lib/fastlane/actions/fastlane_version.rb +17 -2
  58. data/lib/fastlane/actions/flock.rb +20 -0
  59. data/lib/fastlane/actions/frameit.rb +18 -0
  60. data/lib/fastlane/actions/gcovr.rb +18 -0
  61. data/lib/fastlane/actions/get_build_number.rb +10 -0
  62. data/lib/fastlane/actions/get_build_number_repository.rb +18 -0
  63. data/lib/fastlane/actions/get_github_release.rb +18 -1
  64. data/lib/fastlane/actions/get_info_plist_value.rb +14 -0
  65. data/lib/fastlane/actions/get_ipa_info_plist_value.rb +10 -0
  66. data/lib/fastlane/actions/get_version_number.rb +10 -0
  67. data/lib/fastlane/actions/git_add.rb +11 -7
  68. data/lib/fastlane/actions/git_branch.rb +10 -0
  69. data/lib/fastlane/actions/git_commit.rb +13 -0
  70. data/lib/fastlane/actions/git_pull.rb +11 -0
  71. data/lib/fastlane/actions/git_tag_exists.rb +12 -0
  72. data/lib/fastlane/actions/gradle.rb +45 -0
  73. data/lib/fastlane/actions/gym.rb +25 -3
  74. data/lib/fastlane/actions/hg_add_tag.rb +10 -0
  75. data/lib/fastlane/actions/hg_commit_version_bump.rb +26 -0
  76. data/lib/fastlane/actions/hg_ensure_clean_status.rb +14 -0
  77. data/lib/fastlane/actions/hg_push.rb +18 -0
  78. data/lib/fastlane/actions/hipchat.rb +19 -0
  79. data/lib/fastlane/actions/hockey.rb +22 -1
  80. data/lib/fastlane/actions/ifttt.rb +20 -0
  81. data/lib/fastlane/actions/import.rb +10 -0
  82. data/lib/fastlane/actions/import_certificate.rb +19 -0
  83. data/lib/fastlane/actions/import_from_git.rb +14 -0
  84. data/lib/fastlane/actions/increment_build_number.rb +24 -2
  85. data/lib/fastlane/actions/increment_version_number.rb +31 -0
  86. data/lib/fastlane/actions/install_on_device.rb +17 -0
  87. data/lib/fastlane/actions/install_xcode_plugin.rb +11 -0
  88. data/lib/fastlane/actions/installr.rb +17 -1
  89. data/lib/fastlane/actions/ipa.rb +25 -1
  90. data/lib/fastlane/actions/is_ci.rb +14 -1
  91. data/lib/fastlane/actions/jazzy.rb +10 -0
  92. data/lib/fastlane/actions/jira.rb +16 -3
  93. data/lib/fastlane/actions/lane_context.rb +8 -0
  94. data/lib/fastlane/actions/last_git_commit.rb +23 -0
  95. data/lib/fastlane/actions/last_git_tag.rb +14 -0
  96. data/lib/fastlane/actions/latest_testflight_build_number.rb +21 -1
  97. data/lib/fastlane/actions/lcov.rb +14 -0
  98. data/lib/fastlane/actions/mailgun.rb +25 -0
  99. data/lib/fastlane/actions/make_changelog_from_jenkins.rb +13 -0
  100. data/lib/fastlane/actions/match.rb +11 -0
  101. data/lib/fastlane/actions/nexus_upload.rb +20 -0
  102. data/lib/fastlane/actions/notification.rb +10 -0
  103. data/lib/fastlane/actions/notify.rb +9 -1
  104. data/lib/fastlane/actions/number_of_commits.rb +15 -0
  105. data/lib/fastlane/actions/oclint.rb +35 -0
  106. data/lib/fastlane/actions/onesignal.rb +17 -3
  107. data/lib/fastlane/actions/opt_out_usage.rb +10 -0
  108. data/lib/fastlane/actions/pem.rb +19 -0
  109. data/lib/fastlane/actions/pilot.rb +17 -0
  110. data/lib/fastlane/actions/pod_lib_lint.rb +16 -0
  111. data/lib/fastlane/actions/pod_push.rb +17 -3
  112. data/lib/fastlane/actions/podio_item.rb +16 -0
  113. data/lib/fastlane/actions/produce.rb +19 -0
  114. data/lib/fastlane/actions/prompt.rb +20 -0
  115. data/lib/fastlane/actions/push_git_tags.rb +14 -0
  116. data/lib/fastlane/actions/push_to_git_remote.rb +25 -0
  117. data/lib/fastlane/actions/puts.rb +10 -0
  118. data/lib/fastlane/actions/read_podspec.rb +23 -1
  119. data/lib/fastlane/actions/recreate_schemes.rb +10 -0
  120. data/lib/fastlane/actions/register_devices.rb +31 -0
  121. data/lib/fastlane/actions/reset_git_repo.rb +18 -0
  122. data/lib/fastlane/actions/reset_simulators.rb +10 -0
  123. data/lib/fastlane/actions/resign.rb +24 -2
  124. data/lib/fastlane/actions/restore_file.rb +10 -0
  125. data/lib/fastlane/actions/rocket.rb +14 -0
  126. data/lib/fastlane/actions/rsync.rb +13 -0
  127. data/lib/fastlane/actions/s3.rb +30 -0
  128. data/lib/fastlane/actions/say.rb +10 -0
  129. data/lib/fastlane/actions/scan.rb +16 -1
  130. data/lib/fastlane/actions/scp.rb +25 -0
  131. data/lib/fastlane/actions/screengrab.rb +16 -0
  132. data/lib/fastlane/actions/set_build_number_repository.rb +16 -3
  133. data/lib/fastlane/actions/set_changelog.rb +14 -1
  134. data/lib/fastlane/actions/set_github_release.rb +18 -0
  135. data/lib/fastlane/actions/set_info_plist_value.rb +10 -4
  136. data/lib/fastlane/actions/set_pod_key.rb +18 -0
  137. data/lib/fastlane/actions/setup_jenkins.rb +15 -1
  138. data/lib/fastlane/actions/sigh.rb +19 -0
  139. data/lib/fastlane/actions/skip_docs.rb +14 -0
  140. data/lib/fastlane/actions/slack.rb +34 -0
  141. data/lib/fastlane/actions/slather.rb +15 -2
  142. data/lib/fastlane/actions/snapshot.rb +14 -0
  143. data/lib/fastlane/actions/sonar.rb +37 -19
  144. data/lib/fastlane/actions/splunkmint.rb +14 -0
  145. data/lib/fastlane/actions/ssh.rb +18 -1
  146. data/lib/fastlane/actions/supply.rb +10 -2
  147. data/lib/fastlane/actions/swiftlint.rb +19 -0
  148. data/lib/fastlane/actions/team_id.rb +10 -0
  149. data/lib/fastlane/actions/team_name.rb +10 -0
  150. data/lib/fastlane/actions/testfairy.rb +19 -1
  151. data/lib/fastlane/actions/testflight.rb +8 -0
  152. data/lib/fastlane/actions/tryouts.rb +19 -1
  153. data/lib/fastlane/actions/twitter.rb +18 -1
  154. data/lib/fastlane/actions/typetalk.rb +16 -0
  155. data/lib/fastlane/actions/unlock_keychain.rb +27 -0
  156. data/lib/fastlane/actions/update_app_group_identifiers.rb +17 -0
  157. data/lib/fastlane/actions/update_app_identifier.rb +18 -0
  158. data/lib/fastlane/actions/update_fastlane.rb +27 -0
  159. data/lib/fastlane/actions/update_icloud_container_identifiers.rb +17 -0
  160. data/lib/fastlane/actions/update_info_plist.rb +38 -0
  161. data/lib/fastlane/actions/update_project_code_signing.rb +10 -2
  162. data/lib/fastlane/actions/update_project_provisioning.rb +17 -1
  163. data/lib/fastlane/actions/update_project_team.rb +14 -1
  164. data/lib/fastlane/actions/update_urban_airship_configuration.rb +14 -0
  165. data/lib/fastlane/actions/update_url_schemes.rb +21 -0
  166. data/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -0
  167. data/lib/fastlane/actions/upload_symbols_to_sentry.rb +15 -0
  168. data/lib/fastlane/actions/verify_build.rb +14 -0
  169. data/lib/fastlane/actions/verify_pod_keys.rb +15 -1
  170. data/lib/fastlane/actions/verify_xcode.rb +11 -0
  171. data/lib/fastlane/actions/version_bump_podspec.rb +11 -0
  172. data/lib/fastlane/actions/version_get_podspec.rb +10 -0
  173. data/lib/fastlane/actions/xcode_install.rb +11 -0
  174. data/lib/fastlane/actions/xcode_select.rb +14 -0
  175. data/lib/fastlane/actions/xcode_server_get_assets.rb +13 -0
  176. data/lib/fastlane/actions/xcodebuild.rb +68 -1
  177. data/lib/fastlane/actions/xcov.rb +18 -1
  178. data/lib/fastlane/actions/xctool.rb +21 -1
  179. data/lib/fastlane/actions/xcversion.rb +17 -2
  180. data/lib/fastlane/actions/zip.rb +14 -0
  181. data/lib/fastlane/commands_generator.rb +2 -4
  182. data/lib/fastlane/documentation/markdown_docs_generator.rb +142 -0
  183. data/lib/fastlane/features.rb +4 -2
  184. data/lib/fastlane/lane_manager.rb +6 -2
  185. data/lib/fastlane/setup/crashlytics_beta.rb +6 -4
  186. data/lib/fastlane/version.rb +1 -1
  187. metadata +37 -33
@@ -134,6 +134,20 @@ module Fastlane
134
134
  def self.is_supported?(platform)
135
135
  platform == :ios
136
136
  end
137
+
138
+ def self.example_code
139
+ [
140
+ 'splunkmint(
141
+ dsym: "My.app.dSYM.zip",
142
+ api_key: "43564d3a",
143
+ api_token: "e05456234c4869fb7e0b61"
144
+ )'
145
+ ]
146
+ end
147
+
148
+ def self.category
149
+ :beta
150
+ end
137
151
  end
138
152
  end
139
153
  end
@@ -80,7 +80,7 @@ module Fastlane
80
80
  end
81
81
 
82
82
  def self.details
83
- "Lets you execute remote commands via ssh using username/password or ssh-agent"
83
+ "Lets you execute remote commands via ssh using username/password or ssh-agent. If one of the commands in command-array returns non 0 - it fails."
84
84
  end
85
85
 
86
86
  def self.available_options
@@ -139,6 +139,23 @@ module Fastlane
139
139
  def self.is_supported?(platform)
140
140
  true
141
141
  end
142
+
143
+ def self.example_code
144
+ [
145
+ 'ssh(
146
+ host: "dev.januschka.com",
147
+ username: "root",
148
+ commands: [
149
+ "date",
150
+ "echo 1 > /tmp/file1"
151
+ ]
152
+ )'
153
+ ]
154
+ end
155
+
156
+ def self.category
157
+ :misc
158
+ end
142
159
  end
143
160
  end
144
161
  end
@@ -45,17 +45,25 @@ module Fastlane
45
45
  end
46
46
 
47
47
  def self.return_value
48
- # If you method provides a return value, you can describe here what it does
49
48
  end
50
49
 
51
50
  def self.authors
52
- # So no one will ever forget your contribution to fastlane :) You are awesome btw!
53
51
  ["KrauseFx"]
54
52
  end
55
53
 
56
54
  def self.is_supported?(platform)
57
55
  platform == :android
58
56
  end
57
+
58
+ def self.example_code
59
+ [
60
+ 'supply'
61
+ ]
62
+ end
63
+
64
+ def self.category
65
+ :production
66
+ end
59
67
  end
60
68
  end
61
69
  end
@@ -90,6 +90,25 @@ module Fastlane
90
90
  [:ios, :mac].include?(platform)
91
91
  end
92
92
 
93
+ def self.example_code
94
+ [
95
+ 'swiftlint(
96
+ mode: :lint, # SwiftLint mode: :lint (default) or :autocorrect
97
+ output_file: "swiftlint.result.json", # The path of the output file (optional)
98
+ config_file: ".swiftlint-ci.yml", # The path of the configuration file (optional)
99
+ files: [ # List of files to process (optional)
100
+ "AppDelegate.swift",
101
+ "path/to/project/Model.swift"
102
+ ],
103
+ ignore_exit_status: true # Allow fastlane to continue even if SwiftLint returns a non-zero exit status
104
+ )'
105
+ ]
106
+ end
107
+
108
+ def self.category
109
+ :testing
110
+ end
111
+
93
112
  def self.handle_swiftlint_error(ignore_exit_status, exit_status)
94
113
  if ignore_exit_status
95
114
  failure_suffix = 'which would normally fail the build.'
@@ -27,6 +27,16 @@ module Fastlane
27
27
  def self.is_supported?(platform)
28
28
  platform == :ios
29
29
  end
30
+
31
+ def self.example_code
32
+ [
33
+ 'team_id "Q2CBPK58CA"'
34
+ ]
35
+ end
36
+
37
+ def self.category
38
+ :misc
39
+ end
30
40
  end
31
41
  end
32
42
  end
@@ -27,6 +27,16 @@ module Fastlane
27
27
  def self.is_supported?(platform)
28
28
  platform == :ios
29
29
  end
30
+
31
+ def self.example_code
32
+ [
33
+ 'team_name "Felix Krause"'
34
+ ]
35
+ end
36
+
37
+ def self.category
38
+ :misc
39
+ end
30
40
  end
31
41
  end
32
42
  end
@@ -102,6 +102,10 @@ module Fastlane
102
102
  'Upload a new build to TestFairy'
103
103
  end
104
104
 
105
+ def self.details
106
+ "You can retrieve your API key on [your settings page](https://free.testfairy.com/settings/)"
107
+ end
108
+
105
109
  def self.available_options
106
110
  [
107
111
  # required
@@ -113,7 +117,7 @@ module Fastlane
113
117
  end),
114
118
  FastlaneCore::ConfigItem.new(key: :ipa,
115
119
  env_name: 'TESTFAIRY_IPA_PATH',
116
- description: 'Path to your IPA file. Optional if you use the `gym` or `xcodebuild` action',
120
+ description: 'Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action',
117
121
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
118
122
  verify_block: proc do |value|
119
123
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
@@ -174,6 +178,20 @@ module Fastlane
174
178
  ]
175
179
  end
176
180
 
181
+ def self.example_code
182
+ [
183
+ 'testfairy(
184
+ api_key: "...",
185
+ ipa: "./ipa_file.ipa",
186
+ comment: "Build #{lane_context[SharedValues::BUILD_NUMBER]}",
187
+ )'
188
+ ]
189
+ end
190
+
191
+ def self.category
192
+ :beta
193
+ end
194
+
177
195
  def self.output
178
196
  [
179
197
  ['TESTFAIRY_BUILD_URL', 'URL of the newly uploaded build']
@@ -27,6 +27,14 @@ module Fastlane
27
27
  'KrauseFx'
28
28
  end
29
29
 
30
+ def self.example_code
31
+ Actions::PilotAction.example_code
32
+ end
33
+
34
+ def self.category
35
+ Actions::PilotAction.category
36
+ end
37
+
30
38
  def self.is_supported?(platform)
31
39
  Actions::PilotAction.is_supported?(platform)
32
40
  end
@@ -61,6 +61,10 @@ module Fastlane
61
61
  "Upload a new build to Tryouts"
62
62
  end
63
63
 
64
+ def self.details
65
+ "More information http://tryouts.readthedocs.org/en/latest/releases.html#create-release"
66
+ end
67
+
64
68
  def self.available_options
65
69
  [
66
70
  FastlaneCore::ConfigItem.new(key: :app_id,
@@ -77,7 +81,7 @@ module Fastlane
77
81
  end),
78
82
  FastlaneCore::ConfigItem.new(key: :build_file,
79
83
  env_name: "TRYOUTS_BUILD_FILE",
80
- description: "Path to your IPA or APK file. Optional if you use the `gym` or `xcodebuild` action",
84
+ description: "Path to your IPA or APK file. Optional if you use the _gym_ or _xcodebuild_ action",
81
85
  default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
82
86
  verify_block: proc do |value|
83
87
  UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
@@ -111,6 +115,20 @@ module Fastlane
111
115
  ]
112
116
  end
113
117
 
118
+ def self.example_code
119
+ [
120
+ 'tryouts(
121
+ api_token: "...",
122
+ app_id: "application-id",
123
+ build_file: "test.ipa",
124
+ )'
125
+ ]
126
+ end
127
+
128
+ def self.category
129
+ :misc
130
+ end
131
+
114
132
  def self.output
115
133
  [
116
134
  ['TRYOUTS_BUILD_INFORMATION', 'Contains release info like :application_name, :download_url. See http://tryouts.readthedocs.org/en/latest/releases.html#create-release']
@@ -19,10 +19,11 @@ module Fastlane
19
19
  #####################################################
20
20
 
21
21
  def self.description
22
- "Post on twitter"
22
+ "Post a tweet on Twitter.com"
23
23
  end
24
24
 
25
25
  def self.details
26
+ "Post a tweet on twitter. Requires you to setup an app on twitter.com and obtain consumer and access_token."
26
27
  end
27
28
 
28
29
  def self.available_options
@@ -63,6 +64,22 @@ module Fastlane
63
64
  def self.is_supported?(platform)
64
65
  true
65
66
  end
67
+
68
+ def self.example_code
69
+ [
70
+ 'twitter(
71
+ access_token: "XXXX",
72
+ access_token_secret: "xxx",
73
+ consumer_key: "xxx",
74
+ consumer_secret: "xxx",
75
+ message: "You rock!"
76
+ )'
77
+ ]
78
+ end
79
+
80
+ def self.category
81
+ :notifications
82
+ end
66
83
  end
67
84
  end
68
85
  end
@@ -72,6 +72,22 @@ module Fastlane
72
72
  def self.is_supported?(platform)
73
73
  true
74
74
  end
75
+
76
+ def self.example_code
77
+ [
78
+ 'typetalk(
79
+ message: "App successfully released!",
80
+ note_path: "ChangeLog.md",
81
+ topicId: 1,
82
+ success: true,
83
+ typetalk_token: "Your Typetalk Token"
84
+ )'
85
+ ]
86
+ end
87
+
88
+ def self.category
89
+ :notifications
90
+ end
75
91
  end
76
92
  end
77
93
  end
@@ -110,6 +110,33 @@ module Fastlane
110
110
  def self.is_supported?(platform)
111
111
  true
112
112
  end
113
+
114
+ def self.example_code
115
+ [
116
+ 'unlock_keychain( # Unlock an existing keychain and add it to the keychain search list
117
+ path: "/path/to/KeychainName.keychain",
118
+ password: "mysecret"
119
+ )',
120
+ 'unlock_keychain( # By default the keychain is added to the existing. To replace them with the selected keychain you may use `:replace`
121
+ path: "/path/to/KeychainName.keychain",
122
+ password: "mysecret",
123
+ add_to_search_list: :replace # To only add a keychain use `true` or `:add`.
124
+ )',
125
+ 'unlock_keychain( # In addition, the keychain can be selected as a default keychain
126
+ path: "/path/to/KeychainName.keychain",
127
+ password: "mysecret",
128
+ set_default: true
129
+ )',
130
+ 'unlock_keychain( # If the keychain file is located in the standard location `~/Library/Keychains`, then it is sufficient to provide the keychain file name, or file name with its suffix.
131
+ path: "KeychainName",
132
+ password: "mysecret"
133
+ )'
134
+ ]
135
+ end
136
+
137
+ def self.category
138
+ :misc
139
+ end
113
140
  end
114
141
  end
115
142
  end
@@ -37,6 +37,10 @@ module Fastlane
37
37
  "This action changes the app group identifiers in the entitlements file"
38
38
  end
39
39
 
40
+ def self.details
41
+ "Updates the App Group Identifiers in the given Entitlements file, so you can have app groups for the app store build and app groups for an enterprise build."
42
+ end
43
+
40
44
  def self.available_options
41
45
  [
42
46
  FastlaneCore::ConfigItem.new(key: :entitlements_file,
@@ -67,6 +71,19 @@ module Fastlane
67
71
  def self.is_supported?(platform)
68
72
  platform == :ios
69
73
  end
74
+
75
+ def self.example_code
76
+ [
77
+ 'update_app_group_identifiers(
78
+ entitlements_file: "/path/to/entitlements_file.entitlements",
79
+ app_group_identifiers: ["group.your.app.group.identifier"]
80
+ )'
81
+ ]
82
+ end
83
+
84
+ def self.category
85
+ :project
86
+ end
70
87
  end
71
88
  end
72
89
  end
@@ -59,6 +59,10 @@ module Fastlane
59
59
  "Update the project's bundle identifier"
60
60
  end
61
61
 
62
+ def self.details
63
+ "Update an app identifier by either setting `CFBundleIdentifier` or `PRODUCT_BUNDLE_IDENTIFIER`, depending on which is already in use."
64
+ end
65
+
62
66
  def self.available_options
63
67
  [
64
68
  FastlaneCore::ConfigItem.new(key: :xcodeproj,
@@ -85,6 +89,20 @@ module Fastlane
85
89
  def self.authors
86
90
  ['squarefrog', 'tobiasstrebitzer']
87
91
  end
92
+
93
+ def self.example_code
94
+ [
95
+ 'update_app_identifier(
96
+ xcodeproj: "Example.xcodeproj", # Optional path to xcodeproj, will use the first .xcodeproj if not set
97
+ plist_path: "Example/Info.plist", # Path to info plist file, relative to xcodeproj
98
+ app_identifier: "com.test.example" # The App Identifier
99
+ )'
100
+ ]
101
+ end
102
+
103
+ def self.category
104
+ :project
105
+ end
88
106
  end
89
107
  end
90
108
  end
@@ -111,6 +111,20 @@ module Fastlane
111
111
  "Makes sure fastlane-tools are up-to-date when running fastlane"
112
112
  end
113
113
 
114
+ def self.details
115
+ [
116
+ "This action will look at all installed fastlane tools and update them to the next available minor version - major version updates will not be performed automatically, as they might include breaking changes. If an update was performed, fastlane will be restarted before the run continues.",
117
+ "If you are using rbenv or rvm, everything should be good to go. However, if you are using the system's default ruby, some additional setup is needed for this action to work correctly. In short, fastlane needs to be able to access your gem library without running in `sudo` mode.",
118
+ "The simplest possible fix for this is putting the following lines into your `~/.bashrc` or `~/.zshrc` file:",
119
+ "```bash",
120
+ "export GEM_HOME=~/.gems",
121
+ "export PATH=$PATH:~/.gems/bin",
122
+ "```",
123
+ "After the above changes, restart your terminal, then run `mkdir $GEM_HOME` to create the new gem directory. After this, you're good to go!",
124
+ "Recommended usage of the `update_fastlane` action is at the top of the `before_all` block, before running any other action"
125
+ ].join("\n\n")
126
+ end
127
+
114
128
  def self.available_options
115
129
  [
116
130
  FastlaneCore::ConfigItem.new(key: :tools,
@@ -132,6 +146,19 @@ module Fastlane
132
146
  def self.is_supported?(platform)
133
147
  true
134
148
  end
149
+
150
+ def self.example_code
151
+ [
152
+ 'before_all do
153
+ update_fastlane
154
+ # ...
155
+ end'
156
+ ]
157
+ end
158
+
159
+ def self.category
160
+ :misc
161
+ end
135
162
  end
136
163
  end
137
164
  end
@@ -45,6 +45,10 @@ module Fastlane
45
45
  "This action changes the iCloud container identifiers in the entitlements file"
46
46
  end
47
47
 
48
+ def self.details
49
+ "Updates the iCloud Container Identifiers in the given Entitlements file, so you can use different iCloud containers for different builds like Adhoc, App Store, etc."
50
+ end
51
+
48
52
  def self.available_options
49
53
  [
50
54
  FastlaneCore::ConfigItem.new(key: :entitlements_file,
@@ -75,6 +79,19 @@ module Fastlane
75
79
  def self.is_supported?(platform)
76
80
  platform == :ios
77
81
  end
82
+
83
+ def self.example_code
84
+ [
85
+ 'update_icloud_container_identifiers(
86
+ entitlements_file: "/path/to/entitlements_file.entitlements",
87
+ icloud_container_identifiers: ["iCloud.com.companyname.appname"]
88
+ )'
89
+ ]
90
+ end
91
+
92
+ def self.category
93
+ :misc
94
+ end
78
95
  end
79
96
  end
80
97
  end