fastlane 2.98.0 → 2.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +70 -70
  3. data/credentials_manager/lib/credentials_manager/appfile_config.rb +1 -1
  4. data/deliver/lib/assets/DeliverfileDefault +1 -1
  5. data/deliver/lib/assets/DeliverfileDefault.swift +1 -1
  6. data/deliver/lib/assets/summary.html.erb +1 -1
  7. data/deliver/lib/deliver/commands_generator.rb +2 -2
  8. data/deliver/lib/deliver/detect_values.rb +1 -1
  9. data/deliver/lib/deliver/download_screenshots.rb +1 -1
  10. data/deliver/lib/deliver/options.rb +3 -3
  11. data/deliver/lib/deliver/runner.rb +9 -9
  12. data/deliver/lib/deliver/submit_for_review.rb +3 -3
  13. data/deliver/lib/deliver/upload_metadata.rb +3 -3
  14. data/deliver/lib/deliver/upload_screenshots.rb +2 -2
  15. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +3 -3
  16. data/fastlane/lib/fastlane/actions/cocoapods.rb +1 -0
  17. data/fastlane/lib/fastlane/actions/create_app_online.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/docs/check_app_store_metadata.md +3 -3
  19. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +8 -8
  20. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +1 -1
  21. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +2 -2
  22. data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +14 -14
  23. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +2 -2
  24. data/fastlane/lib/fastlane/actions/download_dsyms.rb +7 -7
  25. data/fastlane/lib/fastlane/actions/github_api.rb +2 -0
  26. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +2 -2
  27. data/fastlane/lib/fastlane/actions/set_changelog.rb +6 -6
  28. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +1 -1
  29. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +1 -1
  30. data/fastlane/lib/fastlane/command_line_handler.rb +2 -2
  31. data/fastlane/lib/fastlane/commands_generator.rb +1 -0
  32. data/fastlane/lib/fastlane/fast_file.rb +8 -6
  33. data/fastlane/lib/fastlane/lane_manager.rb +0 -3
  34. data/fastlane/lib/fastlane/runner.rb +1 -9
  35. data/fastlane/lib/fastlane/server/socket_server.rb +4 -2
  36. data/fastlane/lib/fastlane/setup/setup_ios.rb +12 -12
  37. data/fastlane/lib/fastlane/swift_lane_manager.rb +9 -8
  38. data/fastlane/lib/fastlane/version.rb +1 -1
  39. data/fastlane/swift/Appfile.swift +1 -1
  40. data/fastlane/swift/ArgumentProcessor.swift +3 -1
  41. data/fastlane/swift/ControlCommand.swift +0 -1
  42. data/fastlane/swift/Deliverfile.swift +1 -1
  43. data/fastlane/swift/Fastlane.swift +3 -3
  44. data/fastlane/swift/Gymfile.swift +1 -1
  45. data/fastlane/swift/LaneFileProtocol.swift +0 -1
  46. data/fastlane/swift/Matchfile.swift +1 -1
  47. data/fastlane/swift/Precheckfile.swift +1 -1
  48. data/fastlane/swift/RubyCommand.swift +0 -1
  49. data/fastlane/swift/RubyCommandable.swift +0 -1
  50. data/fastlane/swift/Runner.swift +7 -7
  51. data/fastlane/swift/RunnerArgument.swift +0 -1
  52. data/fastlane/swift/Scanfile.swift +1 -1
  53. data/fastlane/swift/Screengrabfile.swift +1 -1
  54. data/fastlane/swift/Snapshotfile.swift +1 -1
  55. data/fastlane/swift/SocketClient.swift +0 -1
  56. data/fastlane/swift/SocketClientDelegateProtocol.swift +0 -1
  57. data/fastlane/swift/SocketResponse.swift +0 -1
  58. data/fastlane/swift/main.swift +2 -2
  59. data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +10 -39
  60. data/fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb +34 -30
  61. data/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb +16 -176
  62. data/fastlane_core/lib/fastlane_core/analytics/app_identifier_guesser.rb +1 -1
  63. data/fastlane_core/lib/fastlane_core/build_watcher.rb +2 -2
  64. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +8 -8
  65. data/fastlane_core/lib/fastlane_core/module.rb +2 -5
  66. data/fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb +0 -1
  67. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +5 -7
  68. data/gym/lib/gym/detect_values.rb +23 -0
  69. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +1 -21
  70. data/match/lib/match/spaceship_ensure.rb +1 -1
  71. data/pilot/lib/pilot/build_manager.rb +2 -2
  72. data/pilot/lib/pilot/manager.rb +2 -2
  73. data/pilot/lib/pilot/options.rb +4 -4
  74. data/precheck/lib/precheck/options.rb +2 -2
  75. data/produce/lib/produce/commands_generator.rb +1 -1
  76. data/produce/lib/produce/developer_center.rb +1 -1
  77. data/produce/lib/produce/itunes_connect.rb +6 -6
  78. data/produce/lib/produce/options.rb +4 -4
  79. data/scan/lib/scan/test_command_generator.rb +6 -2
  80. data/screengrab/lib/screengrab/runner.rb +2 -2
  81. data/sigh/lib/sigh/runner.rb +6 -1
  82. data/snapshot/lib/assets/SnapshotHelper.swift +0 -1
  83. data/snapshot/lib/assets/SnapshotHelperXcode8.swift +0 -1
  84. data/spaceship/README.md +3 -3
  85. data/spaceship/lib/spaceship.rb +1 -1
  86. data/spaceship/lib/spaceship/client.rb +12 -7
  87. data/spaceship/lib/spaceship/du/du_client.rb +1 -1
  88. data/spaceship/lib/spaceship/errors.rb +1 -1
  89. data/spaceship/lib/spaceship/module.rb +1 -1
  90. data/spaceship/lib/spaceship/playground.rb +3 -3
  91. data/spaceship/lib/spaceship/portal/portal_client.rb +2 -2
  92. data/spaceship/lib/spaceship/spaceauth_runner.rb +5 -5
  93. data/spaceship/lib/spaceship/test_flight/client.rb +12 -1
  94. data/spaceship/lib/spaceship/test_flight/group.rb +1 -1
  95. data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
  96. data/spaceship/lib/spaceship/tunes/app_analytics.rb +143 -0
  97. data/spaceship/lib/spaceship/tunes/app_details.rb +1 -1
  98. data/spaceship/lib/spaceship/tunes/app_image.rb +1 -1
  99. data/spaceship/lib/spaceship/tunes/app_screenshot.rb +1 -1
  100. data/spaceship/lib/spaceship/tunes/app_status.rb +2 -2
  101. data/spaceship/lib/spaceship/tunes/app_submission.rb +1 -1
  102. data/spaceship/lib/spaceship/tunes/app_trailer.rb +1 -1
  103. data/spaceship/lib/spaceship/tunes/app_version.rb +6 -6
  104. data/spaceship/lib/spaceship/tunes/app_version_history.rb +1 -1
  105. data/spaceship/lib/spaceship/tunes/app_version_states_history.rb +1 -1
  106. data/spaceship/lib/spaceship/tunes/application.rb +15 -4
  107. data/spaceship/lib/spaceship/tunes/availability.rb +24 -8
  108. data/spaceship/lib/spaceship/tunes/b2b_user.rb +7 -2
  109. data/spaceship/lib/spaceship/tunes/build.rb +2 -2
  110. data/spaceship/lib/spaceship/tunes/build_details.rb +1 -1
  111. data/spaceship/lib/spaceship/tunes/build_train.rb +2 -2
  112. data/spaceship/lib/spaceship/tunes/errors.rb +1 -1
  113. data/spaceship/lib/spaceship/tunes/iap.rb +2 -2
  114. data/spaceship/lib/spaceship/tunes/iap_status.rb +1 -1
  115. data/spaceship/lib/spaceship/tunes/iap_type.rb +1 -1
  116. data/spaceship/lib/spaceship/tunes/tunes.rb +1 -0
  117. data/spaceship/lib/spaceship/tunes/tunes_client.rb +41 -13
  118. data/spaceship/lib/spaceship/two_step_client.rb +1 -1
  119. metadata +15 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b988d444a8ed4f31af4007ee07c238c93b6c6ef
4
- data.tar.gz: 73318633501ecc0c7efed819b679dcfdede0b43f
3
+ metadata.gz: e850aa0805832c85a1ee99ae450608db3fba1dfa
4
+ data.tar.gz: 7ab4eaab160bcb66ddddb987fb0dc32418786d50
5
5
  SHA512:
6
- metadata.gz: 5a714976cd472b4de65b56e53c41a79b3b38ed1fccf5f0e93d4ff0ab387909938633c234bd909f0c07c081a4bbaf94b9279bf9e9226982f020c4beeed1f3c775
7
- data.tar.gz: 30e6058e9f6b23ff692955a13d53a1c0627fd8e5141c5c6537e286e6a9c0f64dc70b6484d53d35bbcf945ed06b1af755214b158fec2206241564cb7f1348310e
6
+ metadata.gz: 89abe629b28e80fc42bd5b9b2e789512ff9fe9b9f2ae8913e960b09111b5148b84ecc4f7e80f090bab19c65188697eab78bb76008fcceb2d6be07d2f387f63f9
7
+ data.tar.gz: a6d129e388d0fa91dad9607445359f17da5baa1014ff1830aba26273d6aa5852acf1051e14c51a489bfbe266a46506163a6119e54e35a47151005eb84ff09fbe
data/README.md CHANGED
@@ -32,38 +32,6 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
32
32
 
33
33
  <table id='team'>
34
34
  <tr>
35
- <td id='jimmy-dee'>
36
- <a href='https://github.com/jdee'>
37
- <img src='https://github.com/jdee.png?size=140'>
38
- </a>
39
- <h4 align='center'>Jimmy Dee</h4>
40
- </td>
41
- <td id='helmut-januschka'>
42
- <a href='https://github.com/hjanuschka'>
43
- <img src='https://github.com/hjanuschka.png?size=140'>
44
- </a>
45
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
46
- </td>
47
- <td id='jorge-revuelta-h'>
48
- <a href='https://github.com/minuscorp'>
49
- <img src='https://github.com/minuscorp.png?size=140'>
50
- </a>
51
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
52
- </td>
53
- <td id='danielle-tomlinson'>
54
- <a href='https://github.com/DanToml'>
55
- <img src='https://github.com/DanToml.png?size=140'>
56
- </a>
57
- <h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
58
- </td>
59
- <td id='olivier-halligon'>
60
- <a href='https://github.com/AliSoftware'>
61
- <img src='https://github.com/AliSoftware.png?size=140'>
62
- </a>
63
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
64
- </td>
65
- </tr>
66
- <tr>
67
35
  <td id='stefan-natchev'>
68
36
  <a href='https://github.com/snatchev'>
69
37
  <img src='https://github.com/snatchev.png?size=140'>
@@ -76,37 +44,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
76
44
  </a>
77
45
  <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
78
46
  </td>
79
- <td id='fumiya-nakamura'>
80
- <a href='https://github.com/nafu'>
81
- <img src='https://github.com/nafu.png?size=140'>
47
+ <td id='jérôme-lacoste'>
48
+ <a href='https://github.com/lacostej'>
49
+ <img src='https://github.com/lacostej.png?size=140'>
82
50
  </a>
83
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
51
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
84
52
  </td>
85
- <td id='manu-wallner'>
86
- <a href='https://github.com/milch'>
87
- <img src='https://github.com/milch.png?size=140'>
53
+ <td id='andrew-mcburney'>
54
+ <a href='https://github.com/AndrewMcBurney'>
55
+ <img src='https://github.com/AndrewMcBurney.png?size=140'>
88
56
  </a>
89
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
57
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
90
58
  </td>
91
- <td id='felix-krause'>
92
- <a href='https://github.com/KrauseFx'>
93
- <img src='https://github.com/KrauseFx.png?size=140'>
59
+ <td id='fumiya-nakamura'>
60
+ <a href='https://github.com/nafu'>
61
+ <img src='https://github.com/nafu.png?size=140'>
94
62
  </a>
95
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
63
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
96
64
  </td>
97
65
  </tr>
98
66
  <tr>
99
- <td id='josh-holtz'>
100
- <a href='https://github.com/joshdholtz'>
101
- <img src='https://github.com/joshdholtz.png?size=140'>
102
- </a>
103
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
104
- </td>
105
- <td id='aaron-brager'>
106
- <a href='https://github.com/getaaron'>
107
- <img src='https://github.com/getaaron.png?size=140'>
67
+ <td id='iulian-onofrei'>
68
+ <a href='https://github.com/revolter'>
69
+ <img src='https://github.com/revolter.png?size=140'>
108
70
  </a>
109
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
71
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
110
72
  </td>
111
73
  <td id='kohki-miki'>
112
74
  <a href='https://github.com/giginet'>
@@ -114,25 +76,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
114
76
  </a>
115
77
  <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
116
78
  </td>
117
- <td id='andrew-mcburney'>
118
- <a href='https://github.com/AndrewMcBurney'>
119
- <img src='https://github.com/AndrewMcBurney.png?size=140'>
79
+ <td id='jan-piotrowski'>
80
+ <a href='https://github.com/janpio'>
81
+ <img src='https://github.com/janpio.png?size=140'>
120
82
  </a>
121
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
83
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
122
84
  </td>
123
- <td id='jérôme-lacoste'>
124
- <a href='https://github.com/lacostej'>
125
- <img src='https://github.com/lacostej.png?size=140'>
85
+ <td id='olivier-halligon'>
86
+ <a href='https://github.com/AliSoftware'>
87
+ <img src='https://github.com/AliSoftware.png?size=140'>
126
88
  </a>
127
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
89
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
90
+ </td>
91
+ <td id='aaron-brager'>
92
+ <a href='https://github.com/getaaron'>
93
+ <img src='https://github.com/getaaron.png?size=140'>
94
+ </a>
95
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
128
96
  </td>
129
97
  </tr>
130
98
  <tr>
131
- <td id='iulian-onofrei'>
132
- <a href='https://github.com/revolter'>
133
- <img src='https://github.com/revolter.png?size=140'>
99
+ <td id='josh-holtz'>
100
+ <a href='https://github.com/joshdholtz'>
101
+ <img src='https://github.com/joshdholtz.png?size=140'>
134
102
  </a>
135
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
103
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
136
104
  </td>
137
105
  <td id='maksym-grebenets'>
138
106
  <a href='https://github.com/mgrebenets'>
@@ -140,23 +108,55 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
140
108
  </a>
141
109
  <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
142
110
  </td>
111
+ <td id='jorge-revuelta-h'>
112
+ <a href='https://github.com/minuscorp'>
113
+ <img src='https://github.com/minuscorp.png?size=140'>
114
+ </a>
115
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
116
+ </td>
117
+ <td id='felix-krause'>
118
+ <a href='https://github.com/KrauseFx'>
119
+ <img src='https://github.com/KrauseFx.png?size=140'>
120
+ </a>
121
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
122
+ </td>
123
+ <td id='manu-wallner'>
124
+ <a href='https://github.com/milch'>
125
+ <img src='https://github.com/milch.png?size=140'>
126
+ </a>
127
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td id='jimmy-dee'>
132
+ <a href='https://github.com/jdee'>
133
+ <img src='https://github.com/jdee.png?size=140'>
134
+ </a>
135
+ <h4 align='center'>Jimmy Dee</h4>
136
+ </td>
143
137
  <td id='luka-mirosevic'>
144
138
  <a href='https://github.com/lmirosevic'>
145
139
  <img src='https://github.com/lmirosevic.png?size=140'>
146
140
  </a>
147
141
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
148
142
  </td>
143
+ <td id='helmut-januschka'>
144
+ <a href='https://github.com/hjanuschka'>
145
+ <img src='https://github.com/hjanuschka.png?size=140'>
146
+ </a>
147
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
148
+ </td>
149
149
  <td id='joshua-liebowitz'>
150
150
  <a href='https://github.com/taquitos'>
151
151
  <img src='https://github.com/taquitos.png?size=140'>
152
152
  </a>
153
153
  <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
154
154
  </td>
155
- <td id='jan-piotrowski'>
156
- <a href='https://github.com/janpio'>
157
- <img src='https://github.com/janpio.png?size=140'>
155
+ <td id='danielle-tomlinson'>
156
+ <a href='https://github.com/DanToml'>
157
+ <img src='https://github.com/DanToml.png?size=140'>
158
158
  </a>
159
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
159
+ <h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
160
160
  </td>
161
161
  </tr>
162
162
  </table>
@@ -110,7 +110,7 @@ module CredentialsManager
110
110
  setter(:team_name, *args, &block)
111
111
  end
112
112
 
113
- # iTunes Connect
113
+ # App Store Connect
114
114
  def itc_team_id(*args, &block)
115
115
  setter(:itc_team_id, *args, &block)
116
116
  end
@@ -1,3 +1,3 @@
1
- # The Deliverfile allows you to store various iTunes Connect metadata
1
+ # The Deliverfile allows you to store various App Store Connect metadata
2
2
  # For more information, check out the docs
3
3
  # https://docs.fastlane.tools/actions/deliver/
@@ -1,3 +1,3 @@
1
- // The Deliverfile allows you to store various iTunes Connect metadata
1
+ // The Deliverfile allows you to store various App Store Connect metadata
2
2
  // For more information, check out the docs
3
3
  // https://docs.fastlane.tools/actions/deliver/
@@ -250,7 +250,7 @@
250
250
  <% if options[:overwrite_screenshots] %>
251
251
  <b>--overwrite_screenshots</b> is set, existing screenshots will be removed, but none will be uploaded.
252
252
  <% else %>
253
- The existing screenshots on iTunes Connect will be kept.
253
+ The existing screenshots on App Store Connect will be kept.
254
254
  if you want to remove them you have to use the <i>--overwrite_screenshots</i> flag.
255
255
  <% end %>
256
256
  <p>
@@ -55,7 +55,7 @@ module Deliver
55
55
 
56
56
  command :run do |c|
57
57
  c.syntax = 'fastlane deliver'
58
- c.description = 'Upload metadata and binary to iTunes Connect'
58
+ c.description = 'Upload metadata and binary to App Store Connect'
59
59
 
60
60
  FastlaneCore::CommanderGenerator.new.generate(deliverfile_options, command: c)
61
61
 
@@ -135,7 +135,7 @@ module Deliver
135
135
 
136
136
  command :download_screenshots do |c|
137
137
  c.syntax = 'fastlane deliver download_screenshots'
138
- c.description = "Downloads all existing screenshots from iTunes Connect and stores them in the screenshots folder"
138
+ c.description = "Downloads all existing screenshots from App Store Connect and stores them in the screenshots folder"
139
139
 
140
140
  FastlaneCore::CommanderGenerator.new.generate(deliverfile_options, command: c)
141
141
 
@@ -42,7 +42,7 @@ module Deliver
42
42
  if app
43
43
  options[:app] = app
44
44
  else
45
- UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your iTunes Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})")
45
+ UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your App Store Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})")
46
46
  end
47
47
  end
48
48
 
@@ -8,7 +8,7 @@ module Deliver
8
8
  UI.success("Successfully downloaded all existing screenshots")
9
9
  rescue => ex
10
10
  UI.error(ex)
11
- UI.error("Couldn't download already existing screenshots from iTunes Connect.")
11
+ UI.error("Couldn't download already existing screenshots from App Store Connect.")
12
12
  end
13
13
 
14
14
  def self.download(options, folder_path)
@@ -89,7 +89,7 @@ module Deliver
89
89
  description: "Path to the folder containing the screenshots",
90
90
  optional: true),
91
91
  FastlaneCore::ConfigItem.new(key: :skip_binary_upload,
92
- description: "Skip uploading an ipa or pkg to iTunes Connect",
92
+ description: "Skip uploading an ipa or pkg to App Store Connect",
93
93
  is_string: false,
94
94
  default_value: false),
95
95
  FastlaneCore::ConfigItem.new(key: :use_live_version,
@@ -175,7 +175,7 @@ module Deliver
175
175
  FastlaneCore::ConfigItem.new(key: :team_id,
176
176
  short_option: "-k",
177
177
  env_name: "DELIVER_TEAM_ID",
178
- description: "The ID of your iTunes Connect team if you're in multiple teams",
178
+ description: "The ID of your App Store Connect team if you're in multiple teams",
179
179
  optional: true,
180
180
  is_string: false, # as we also allow integers, which we convert to strings anyway
181
181
  code_gen_sensitive: true,
@@ -187,7 +187,7 @@ module Deliver
187
187
  FastlaneCore::ConfigItem.new(key: :team_name,
188
188
  short_option: "-e",
189
189
  env_name: "DELIVER_TEAM_NAME",
190
- description: "The name of your iTunes Connect team if you're in multiple teams",
190
+ description: "The name of your App Store Connect team if you're in multiple teams",
191
191
  optional: true,
192
192
  code_gen_sensitive: true,
193
193
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
@@ -27,7 +27,7 @@ module Deliver
27
27
  end
28
28
 
29
29
  def login
30
- UI.message("Login to iTunes Connect (#{options[:username]})")
30
+ UI.message("Login to App Store Connect (#{options[:username]})")
31
31
  Spaceship::Tunes.login(options[:username])
32
32
  Spaceship::Tunes.select_team
33
33
  UI.message("Login successful")
@@ -42,7 +42,7 @@ module Deliver
42
42
  upload_binary
43
43
  end
44
44
 
45
- UI.success("Finished the upload to iTunes Connect") unless options[:skip_binary_upload]
45
+ UI.success("Finished the upload to App Store Connect") unless options[:skip_binary_upload]
46
46
 
47
47
  reject_version_if_possible if options[:reject_if_possible]
48
48
 
@@ -83,22 +83,22 @@ module Deliver
83
83
  return precheck_success
84
84
  end
85
85
 
86
- # Make sure the version on iTunes Connect matches the one in the ipa
86
+ # Make sure the version on App Store Connect matches the one in the ipa
87
87
  # If not, the new version will automatically be created
88
88
  def verify_version
89
89
  app_version = options[:app_version]
90
- UI.message("Making sure the latest version on iTunes Connect matches '#{app_version}' from the ipa file...")
90
+ UI.message("Making sure the latest version on App Store Connect matches '#{app_version}' from the ipa file...")
91
91
 
92
92
  changed = options[:app].ensure_version!(app_version, platform: options[:platform])
93
93
 
94
94
  if changed
95
95
  UI.success("Successfully set the version to '#{app_version}'")
96
96
  else
97
- UI.success("'#{app_version}' is the latest version on iTunes Connect")
97
+ UI.success("'#{app_version}' is the latest version on App Store Connect")
98
98
  end
99
99
  end
100
100
 
101
- # Upload all metadata, screenshots, pricing information, etc. to iTunes Connect
101
+ # Upload all metadata, screenshots, pricing information, etc. to App Store Connect
102
102
  def upload_metadata
103
103
  upload_metadata = UploadMetadata.new
104
104
  upload_screenshots = UploadScreenshots.new
@@ -137,9 +137,9 @@ module Deliver
137
137
  options[:apple_watch_app_icon] ||= default_watch_icon_path if default_watch_icon_path && File.exist?(default_watch_icon_path)
138
138
  end
139
139
 
140
- # Upload the binary to iTunes Connect
140
+ # Upload the binary to App Store Connect
141
141
  def upload_binary
142
- UI.message("Uploading binary to iTunes Connect")
142
+ UI.message("Uploading binary to App Store Connect")
143
143
  if options[:ipa]
144
144
  package_path = FastlaneCore::IpaUploadPackageBuilder.new.generate(
145
145
  app_id: options[:app].apple_id,
@@ -158,7 +158,7 @@ module Deliver
158
158
 
159
159
  transporter = FastlaneCore::ItunesTransporter.new(options[:username], nil, false, options[:itc_provider])
160
160
  result = transporter.upload(options[:app].apple_id, package_path)
161
- UI.user_error!("Could not upload binary to iTunes Connect. Check out the error above", show_github_issues: true) unless result
161
+ UI.user_error!("Could not upload binary to App Store Connect. Check out the error above", show_github_issues: true) unless result
162
162
  end
163
163
 
164
164
  def reject_version_if_possible
@@ -60,10 +60,10 @@ module Deliver
60
60
  build = find_build(app.latest_version.candidate_builds)
61
61
  return build if build.processing == false
62
62
 
63
- UI.message("Waiting iTunes Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while...")
63
+ UI.message("Waiting App Store Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while...")
64
64
  if (Time.now - start) > (60 * 5)
65
65
  UI.message("")
66
- UI.message("You can tweet: \"iTunes Connect #iosprocessingtime #{((Time.now - start) / 60).round} minutes\"")
66
+ UI.message("You can tweet: \"App Store Connect #iosprocessingtime #{((Time.now - start) / 60).round} minutes\"")
67
67
  end
68
68
  sleep(30)
69
69
  end
@@ -72,7 +72,7 @@ module Deliver
72
72
 
73
73
  def find_build(candidate_builds)
74
74
  if (candidate_builds || []).count == 0
75
- UI.user_error!("Could not find any available candidate builds on iTunes Connect to submit")
75
+ UI.user_error!("Could not find any available candidate builds on App Store Connect to submit")
76
76
  end
77
77
 
78
78
  build = candidate_builds.first
@@ -81,7 +81,7 @@ module Deliver
81
81
  non_localised_options = NON_LOCALISED_LIVE_VALUES
82
82
 
83
83
  if v.nil?
84
- UI.message("Couldn't find live version, editing the current version on iTunes Connect instead")
84
+ UI.message("Couldn't find live version, editing the current version on App Store Connect instead")
85
85
  v = app.edit_version(platform: options[:platform])
86
86
  # we don't want to update the localised_options and non_localised_options
87
87
  # as we also check for `options[:edit_live]` at other areas in the code
@@ -126,12 +126,12 @@ module Deliver
126
126
  set_review_information(v, options)
127
127
  set_app_rating(v, options)
128
128
 
129
- Helper.show_loading_indicator("Uploading metadata to iTunes Connect")
129
+ Helper.show_loading_indicator("Uploading metadata to App Store Connect")
130
130
  v.save!
131
131
  Helper.hide_loading_indicator
132
132
  begin
133
133
  details.save!
134
- UI.success("Successfully uploaded set of metadata to iTunes Connect")
134
+ UI.success("Successfully uploaded set of metadata to App Store Connect")
135
135
  rescue Spaceship::TunesClient::ITunesConnectError => e
136
136
  # This makes sure that we log invalid app names as user errors
137
137
  # If another string needs to be checked here we should
@@ -5,7 +5,7 @@ require_relative 'module'
5
5
  require_relative 'loader'
6
6
 
7
7
  module Deliver
8
- # upload screenshots to iTunes Connect
8
+ # upload screenshots to App Store Connect
9
9
  class UploadScreenshots
10
10
  def upload(options, screenshots)
11
11
  return if options[:skip_screenshots]
@@ -75,7 +75,7 @@ module Deliver
75
75
  v = app.edit_version
76
76
  Helper.hide_loading_indicator
77
77
  end
78
- UI.success("Successfully uploaded screenshots to iTunes Connect")
78
+ UI.success("Successfully uploaded screenshots to App Store Connect")
79
79
  end
80
80
 
81
81
  def collect_screenshots(options)
@@ -19,7 +19,7 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.get_build_number(params)
22
- UI.message("Login to iTunes Connect (#{params[:username]})")
22
+ UI.message("Login to App Store Connect (#{params[:username]})")
23
23
  Spaceship::Tunes.login(params[:username])
24
24
  Spaceship::Tunes.select_team
25
25
  UI.message("Login successful")
@@ -105,7 +105,7 @@ module Fastlane
105
105
  FastlaneCore::ConfigItem.new(key: :team_id,
106
106
  short_option: "-k",
107
107
  env_name: "APPSTORE_BUILD_NUMBER_LIVE_TEAM_ID",
108
- description: "The ID of your iTunes Connect team if you're in multiple teams",
108
+ description: "The ID of your App Store Connect team if you're in multiple teams",
109
109
  optional: true,
110
110
  is_string: false, # as we also allow integers, which we convert to strings anyway
111
111
  code_gen_sensitive: true,
@@ -138,7 +138,7 @@ module Fastlane
138
138
  FastlaneCore::ConfigItem.new(key: :team_name,
139
139
  short_option: "-e",
140
140
  env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_NAME",
141
- description: "The name of your iTunes Connect team if you're in multiple teams",
141
+ description: "The name of your App Store Connect team if you're in multiple teams",
142
142
  optional: true,
143
143
  code_gen_sensitive: true,
144
144
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),