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
@@ -64,6 +64,10 @@ module Fastlane
64
64
  'Update a Info.plist file with bundle identifier and display name'
65
65
  end
66
66
 
67
+ def self.details
68
+ "This action allows you to modify your `Info.plist` file before building. This may be useful if you want a separate build for alpha, beta or nightly builds, but don't want a separate target."
69
+ end
70
+
67
71
  def self.available_options
68
72
  [
69
73
 
@@ -106,6 +110,40 @@ module Fastlane
106
110
  def self.author
107
111
  'tobiasstrebitzer'
108
112
  end
113
+
114
+ def self.example_code
115
+ [
116
+ 'update_info_plist( # update app identifier string
117
+ plist_path: "path/to/Info.plist",
118
+ app_identifier: "com.example.newappidentifier"
119
+ )',
120
+ 'update_info_plist( # Change the Display Name of your app
121
+ plist_path: "path/to/Info.plist",
122
+ display_name: "MyApp-Beta"
123
+ )',
124
+ 'update_info_plist( # Target a specific `xcodeproj` rather than finding the first available one
125
+ xcodeproj: "path/to/Example.proj",
126
+ plist_path: "path/to/Info.plist",
127
+ display_name: "MyApp-Beta"
128
+ )',
129
+ 'update_info_plist( # Advanced processing: find URL scheme for particular key and replace value
130
+ xcodeproj: "path/to/Example.proj",
131
+ plist_path: "path/to/Info.plist",
132
+ block: lambda { |plist|
133
+ urlScheme = plist["CFBundleURLTypes"].find{|scheme| scheme["CFBundleURLName"] == "com.acme.default-url-handler"}
134
+ urlScheme[:CFBundleURLSchemes] = ["acme-production"]
135
+ }
136
+ )',
137
+ 'zip(
138
+ path: "MyApp.app",
139
+ output_path: "Latest.app.zip"
140
+ )'
141
+ ]
142
+ end
143
+
144
+ def self.category
145
+ :project
146
+ end
109
147
  end
110
148
  end
111
149
  end
@@ -7,7 +7,7 @@ module Fastlane
7
7
  def self.run(params)
8
8
  UI.message("You shouldn't use update_project_code_signing")
9
9
  UI.message("Have you considered using the recommended way to do code signing?")
10
- UI.message("https://github.com/fastlane/fastlane/tree/master/fastlane/docs/Codesigning")
10
+ UI.message("https://docs.fastlane.tools/codesigning/getting-started/")
11
11
 
12
12
  path = params[:path]
13
13
  path = File.join(path, "project.pbxproj")
@@ -26,7 +26,7 @@ module Fastlane
26
26
  end
27
27
 
28
28
  def self.details
29
- "This feature is not yet 100% finished"
29
+ "Don't use this actoin, check out https://docs.fastlane.tools/codesigning/getting-started/ for more details"
30
30
  end
31
31
 
32
32
  def self.available_options
@@ -51,6 +51,14 @@ module Fastlane
51
51
  def self.is_supported?(platform)
52
52
  platform == :ios
53
53
  end
54
+
55
+ def self.example_code
56
+ []
57
+ end
58
+
59
+ def self.category
60
+ :deprecated
61
+ end
54
62
  end
55
63
  end
56
64
  end
@@ -8,7 +8,7 @@ module Fastlane
8
8
  ROOT_CERTIFICATE_URL = "http://www.apple.com/appleca/AppleIncRootCertificate.cer"
9
9
  def self.run(params)
10
10
  UI.message("You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?")
11
- UI.message("https://github.com/fastlane/fastlane/tree/master/fastlane/docs/Codesigning")
11
+ UI.message("https://docs.fastlane.tools/codesigning/GettingStarted/")
12
12
 
13
13
  # assign folder from parameter or search for xcodeproj file
14
14
  folder = params[:xcodeproj] || Dir["*.xcodeproj"].first
@@ -78,6 +78,7 @@ module Fastlane
78
78
 
79
79
  def self.details
80
80
  [
81
+ "You should check out the code signing gide before using this action: https://github.com/fastlane/fastlane/tree/master/fastlane/docs/Codesigning",
81
82
  "This action retrieves a provisioning profile UUID from a provisioning profile (.mobileprovision) to set",
82
83
  "up the xcode projects' code signing settings in *.xcodeproj/project.pbxproj",
83
84
  "The `target_filter` value can be used to only update code signing for specified targets",
@@ -129,6 +130,21 @@ module Fastlane
129
130
  def self.is_supported?(platform)
130
131
  [:ios, :mac].include? platform
131
132
  end
133
+
134
+ def self.example_code
135
+ [
136
+ 'update_project_provisioning(
137
+ xcodeproj: "Project.xcodeproj",
138
+ profile: "./watch_app_store.mobileprovision", # optional if you use sigh
139
+ target_filter: ".*WatchKit Extension.*", # matches name or type of a target
140
+ build_configuration: "Release"
141
+ )'
142
+ ]
143
+ end
144
+
145
+ def self.category
146
+ :code_signing
147
+ end
132
148
  end
133
149
  end
134
150
  end
@@ -18,7 +18,7 @@ module Fastlane
18
18
  end
19
19
 
20
20
  def self.description
21
- "Update Development Team ID"
21
+ "Update Xcode Development Team ID"
22
22
  end
23
23
 
24
24
  def self.details
@@ -47,6 +47,19 @@ module Fastlane
47
47
  def self.is_supported?(platform)
48
48
  [:ios, :mac].include?(platform)
49
49
  end
50
+
51
+ def self.example_code
52
+ [
53
+ 'update_project_team(
54
+ path: "Example.xcodeproj",
55
+ teamid: "A3ZZVJ7CNY"
56
+ )'
57
+ ]
58
+ end
59
+
60
+ def self.category
61
+ :project
62
+ end
50
63
  end
51
64
  end
52
65
  end
@@ -67,6 +67,20 @@ module Fastlane
67
67
  def self.is_supported?(platform)
68
68
  platform == :ios
69
69
  end
70
+
71
+ def self.example_code
72
+ [
73
+ 'update_urban_airship_configuration(
74
+ plist_path: "AirshipConfig.plist",
75
+ production_app_key: "PRODKEY",
76
+ production_app_secret: "PRODSECRET"
77
+ )'
78
+ ]
79
+ end
80
+
81
+ def self.category
82
+ :push
83
+ end
70
84
  end
71
85
  end
72
86
  end
@@ -47,6 +47,14 @@ module Fastlane
47
47
  ]
48
48
  end
49
49
 
50
+ def self.details
51
+ [
52
+ "This action allows you to update the URL schemes of the app before building it.",
53
+ "For example, you can use this to set a different url scheme for the alpha",
54
+ "or beta version of the app."
55
+ ].join("\n")
56
+ end
57
+
50
58
  def self.output
51
59
  []
52
60
  end
@@ -58,6 +66,19 @@ module Fastlane
58
66
  def self.is_supported?(platform)
59
67
  [:ios, :mac].include? platform
60
68
  end
69
+
70
+ def self.example_code
71
+ [
72
+ 'update_url_schemes(
73
+ path: "path/to/Info.plist",
74
+ url_schemes: ["com.myapp"]
75
+ )'
76
+ ]
77
+ end
78
+
79
+ def self.category
80
+ :project
81
+ end
61
82
  end
62
83
  end
63
84
  end
@@ -151,6 +151,16 @@ module Fastlane
151
151
  def self.is_supported?(platform)
152
152
  platform == :ios
153
153
  end
154
+
155
+ def self.example_code
156
+ [
157
+ 'upload_symbols_to_crashlytics(dsym_path: "./App.dSYM.zip")'
158
+ ]
159
+ end
160
+
161
+ def self.category
162
+ :misc
163
+ end
154
164
  end
155
165
  end
156
166
  end
@@ -137,6 +137,21 @@ module Fastlane
137
137
  def self.is_supported?(platform)
138
138
  platform == :ios
139
139
  end
140
+
141
+ def self.example_code
142
+ [
143
+ 'upload_symbols_to_sentry(
144
+ auth_token: "...",
145
+ org_slug: "...",
146
+ project_slug: "...",
147
+ dsym_path: "./App.dSYM.zip"
148
+ )'
149
+ ]
150
+ end
151
+
152
+ def self.category
153
+ :misc
154
+ end
140
155
  end
141
156
  end
142
157
  end
@@ -133,6 +133,7 @@ module Fastlane
133
133
  end
134
134
 
135
135
  def self.details
136
+ "Verifies that the built app was built using the expected build resources. This is relevant for people who build on machines that are used to build apps with different profiles, certificates and/or bundle identifiers to guard against configuration mistakes."
136
137
  end
137
138
 
138
139
  def self.available_options
@@ -185,6 +186,19 @@ module Fastlane
185
186
  def self.is_supported?(platform)
186
187
  platform == :ios
187
188
  end
189
+
190
+ def self.example_code
191
+ [
192
+ 'verify_build(
193
+ provisioning_type: "distribution",
194
+ bundle_identifier: "com.example.myapp"
195
+ )'
196
+ ]
197
+ end
198
+
199
+ def self.category
200
+ :misc
201
+ end
188
202
  end
189
203
  end
190
204
  end
@@ -45,8 +45,22 @@ module Fastlane
45
45
  "Verifies all keys referenced from the Podfile are non-empty"
46
46
  end
47
47
 
48
+ def self.details
49
+ "Runs a check against all keys specified in your Podfile to make sure they're more than a single character long. This is to ensure you don't deploy with stubbed keys."
50
+ end
51
+
48
52
  def self.is_supported?(platform)
49
- [:ios, :mac].include? platform
53
+ [:ios, :mac].include?(platform)
54
+ end
55
+
56
+ def self.example_code
57
+ [
58
+ 'verify_pod_keys'
59
+ ]
60
+ end
61
+
62
+ def self.category
63
+ :building
50
64
  end
51
65
  end
52
66
  end
@@ -138,6 +138,17 @@ module Fastlane
138
138
  def self.is_supported?(platform)
139
139
  [:ios, :mac].include?(platform)
140
140
  end
141
+
142
+ def self.example_code
143
+ [
144
+ 'verify_xcode',
145
+ 'verify_xcode(xcode_path: "/Applications/Xcode.app")'
146
+ ]
147
+ end
148
+
149
+ def self.category
150
+ :building
151
+ end
141
152
  end
142
153
  end
143
154
  end
@@ -74,6 +74,17 @@ module Fastlane
74
74
  def self.is_supported?(platform)
75
75
  [:ios, :mac].include? platform
76
76
  end
77
+
78
+ def self.example_code
79
+ [
80
+ 'version = version_bump_podspec(path: "TSMessages.podspec", bump_type: "patch")',
81
+ 'version = version_bump_podspec(path: "TSMessages.podspec", version_number: "1.4")'
82
+ ]
83
+ end
84
+
85
+ def self.category
86
+ :misc
87
+ end
77
88
  end
78
89
  end
79
90
  end
@@ -45,6 +45,16 @@ module Fastlane
45
45
  def self.is_supported?(platform)
46
46
  [:ios, :mac].include? platform
47
47
  end
48
+
49
+ def self.example_code
50
+ [
51
+ 'version = version_get_podspec(path: "TSMessages.podspec")'
52
+ ]
53
+ end
54
+
55
+ def self.category
56
+ :misc
57
+ end
48
58
  end
49
59
  end
50
60
  end
@@ -37,6 +37,7 @@ module Fastlane
37
37
  end
38
38
 
39
39
  def self.details
40
+ "Makes sure a specific version of Xcode is installed. If that's not the case, it will automatically be downloaded by the [xcode_install](https://github.com/neonichu/xcode-install) gem. This will make sure to use the correct Xcode for later actions."
40
41
  end
41
42
 
42
43
  def self.available_options
@@ -80,6 +81,16 @@ module Fastlane
80
81
  def self.is_supported?(platform)
81
82
  [:ios, :mac].include?(platform)
82
83
  end
84
+
85
+ def self.example_code
86
+ [
87
+ 'xcode_install(version: "7.1")'
88
+ ]
89
+ end
90
+
91
+ def self.category
92
+ :building
93
+ end
83
94
  end
84
95
  end
85
96
  end
@@ -37,6 +37,10 @@ module Fastlane
37
37
  "Change the xcode-path to use. Useful for beta versions of Xcode"
38
38
  end
39
39
 
40
+ def self.details
41
+ "Select and build with the Xcode installed at the provided path. Use the `xcversion` action if you want to select an Xcode based on a version specifier or you don't have known, stable paths as may happen in a CI environment."
42
+ end
43
+
40
44
  def self.author
41
45
  "dtrenz"
42
46
  end
@@ -44,6 +48,16 @@ module Fastlane
44
48
  def self.is_supported?(platform)
45
49
  [:ios, :mac].include? platform
46
50
  end
51
+
52
+ def self.example_code
53
+ [
54
+ 'xcode_select "/Applications/Xcode6.1.app"'
55
+ ]
56
+ end
57
+
58
+ def self.category
59
+ :building
60
+ end
47
61
  end
48
62
  end
49
63
  end
@@ -289,6 +289,19 @@ module Fastlane
289
289
  def self.is_supported?(platform)
290
290
  [:ios, :mac].include? platform
291
291
  end
292
+
293
+ def self.example_code
294
+ [
295
+ 'xcode_server_get_assets(
296
+ host: "10.99.0.59", # Specify Xcode Server\'s Host or IP Address
297
+ bot_name: "release-1.3.4" # Specify the particular Bot
298
+ )'
299
+ ]
300
+ end
301
+
302
+ def self.category
303
+ :testing
304
+ end
292
305
  end
293
306
  end
294
307
  end
@@ -56,6 +56,21 @@ module Fastlane
56
56
  [:ios, :mac].include? platform
57
57
  end
58
58
 
59
+ def self.example_code
60
+ [
61
+ 'xcodebuild(
62
+ archive: true,
63
+ archive_path: "./build-dir/MyApp.xcarchive",
64
+ scheme: "MyApp",
65
+ workspace: "MyApp.xcworkspace"
66
+ )'
67
+ ]
68
+ end
69
+
70
+ def self.category
71
+ :building
72
+ end
73
+
59
74
  def self.run(params)
60
75
  unless Helper.test?
61
76
  UI.user_error!("xcodebuild not installed") if `which xcodebuild`.length == 0
@@ -355,7 +370,7 @@ module Fastlane
355
370
  end
356
371
 
357
372
  def self.details
358
- "More information on GitHub: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md#xcodebuild"
373
+ "**Note**: `xcodebuild` is a complex command, so it is recommended to use [gym](https://github.com/fastlane/fastlane/tree/master/gym) for building your ipa file and [scan](https://github.com/fastlane/fastlane/tree/master/scan) for testing your app instead."
359
374
  end
360
375
 
361
376
  def self.author
@@ -374,6 +389,16 @@ module Fastlane
374
389
  "Archives the project using `xcodebuild`"
375
390
  end
376
391
 
392
+ def self.example_code
393
+ [
394
+ 'xcarchive'
395
+ ]
396
+ end
397
+
398
+ def self.category
399
+ :building
400
+ end
401
+
377
402
  def self.author
378
403
  "dtrenz"
379
404
  end
@@ -404,6 +429,16 @@ module Fastlane
404
429
  XcodebuildAction.run(params_hash)
405
430
  end
406
431
 
432
+ def self.example_code
433
+ [
434
+ 'xcbuild'
435
+ ]
436
+ end
437
+
438
+ def self.category
439
+ :building
440
+ end
441
+
407
442
  def self.description
408
443
  "Builds the project using `xcodebuild`"
409
444
  end
@@ -443,6 +478,16 @@ module Fastlane
443
478
  "Cleans the project using `xcodebuild`"
444
479
  end
445
480
 
481
+ def self.example_code
482
+ [
483
+ 'xcclean'
484
+ ]
485
+ end
486
+
487
+ def self.category
488
+ :building
489
+ end
490
+
446
491
  def self.author
447
492
  "dtrenz"
448
493
  end
@@ -478,6 +523,16 @@ module Fastlane
478
523
  "Exports the project using `xcodebuild`"
479
524
  end
480
525
 
526
+ def self.example_code
527
+ [
528
+ 'xcexport'
529
+ ]
530
+ end
531
+
532
+ def self.category
533
+ :building
534
+ end
535
+
481
536
  def self.author
482
537
  "dtrenz"
483
538
  end
@@ -512,6 +567,18 @@ module Fastlane
512
567
  XcodebuildAction.run(params_hash)
513
568
  end
514
569
 
570
+ def self.example_code
571
+ [
572
+ 'xctest(
573
+ destination: "name=iPhone 7s,OS=10.0"
574
+ )'
575
+ ]
576
+ end
577
+
578
+ def self.category
579
+ :building
580
+ end
581
+
515
582
  def self.description
516
583
  "Runs tests on the given simulator"
517
584
  end