fastlane: Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing requied data.

New Issue Checklist

Issue Description

Expect fastlane to upload app to Apple TestFlight Instead get error:  Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing requied data.

Misspelling of ‘requied’ is as per the actual error.

Was working until a few days ago when I updated Fastlane.

Command executed

fastlane beta

Complete output when running fastlane, including the stack trace and command used
[14:44:20]: ------------------------------
180 [14:44:20]: --- Step: default_platform ---
181 [14:44:20]: ------------------------------
182 [14:44:20]: Driving the lane 'ios beta' 🚀
183 [14:44:20]: ------------------------------------
184 [14:44:20]: --- Step: increment_build_number ---
185 [14:44:20]: ------------------------------------
186 Current version of project myapp is: 
187     32
188 /Users/greg/builds/ykHv483k/0/myapp/myapp/ios
189 [14:44:22]: $ cd /Users/greg/builds/ykHv483k/0/myapp/myapp/ios && agvtool next-version -all && cd -
190 [14:44:23]: ▸ Setting version of project myapp to:
191 [14:44:23]: ▸ 33.
192 [14:44:23]: ▸ Also setting CFBundleVersion key (assuming it exists)
193 [14:44:23]: ▸ Updating CFBundleVersion in Info.plist(s)...
194 [14:44:23]: ▸ Updated CFBundleVersion in "myapp.xcodeproj/../myapp-tvOS/Info.plist" to 33
195 [14:44:23]: ▸ Updated CFBundleVersion in "myapp.xcodeproj/../myapp-tvOSTests/Info.plist" to 33
196 [14:44:23]: ▸ Updated CFBundleVersion in "myapp.xcodeproj/../myapp/Info.plist" to 33
197 [14:44:23]: ▸ Updated CFBundleVersion in "myapp.xcodeproj/../myappTests/Info.plist" to 33
198 [14:44:23]: ▸ /Users/greg/builds/ykHv483k/0/myapp/myapp/ios
199 [14:44:24]: ---------------------------------
200 [14:44:24]: --- Step: commit_version_bump ---
201 [14:44:24]: ---------------------------------
202 [14:44:24]: $ git rev-parse --show-toplevel
203 [14:44:24]: ▸ /Users/greg/builds/ykHv483k/0/myapp/myapp
204 [14:44:24]: $ git diff --name-only HEAD
205 [14:44:24]: ▸ ios/myapp-tvOS/Info.plist
206 [14:44:24]: ▸ ios/myapp-tvOSTests/Info.plist
207 [14:44:24]: ▸ ios/myapp.xcodeproj/project.pbxproj
208 [14:44:24]: ▸ ios/myapp/Info.plist
209 [14:44:24]: ▸ ios/myappTests/Info.plist
210 [14:44:24]: $ git ls-files --other --exclude-standard
211 [14:44:24]: $ git add /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp.xcodeproj/project.pbxproj /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp/Info.plist /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myappTests/Info.plist /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp-tvOS/Info.plist /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp-tvOSTests/Info.plist
212 [14:44:24]: $ git commit -m '[ci-skip] Version Bump to 33'
213 [14:44:24]: ▸ [test 6369a0e] [ci-skip] Version Bump to 33
214 [14:44:24]: ▸ 5 files changed, 6 insertions(+), 6 deletions(-)
215 [14:44:24]: Committed "[ci-skip] Version Bump to 33" 💾.
216 [14:44:24]: --------------------------------
217 [14:44:24]: --- Step: push_to_git_remote ---
218 [14:44:24]: --------------------------------
219 [14:44:24]: $ pwd
220 [14:44:24]: ▸ /Users/greg/builds/ykHv483k/0/myapp/myapp/ios
221 [14:44:24]: $ git push origin test:test --tags
222 [14:44:28]: ▸ remote:
223 [14:44:28]: ▸ remote: To create a merge request for test, visit:
224 [14:44:28]: ▸ remote:   https://gitlab.com/myapp/myapp/-/merge_requests/new?merge_request%5Bsource_branch%5D=test
225 [14:44:28]: ▸ remote:
226 [14:44:28]: ▸ To gitlab.com:myapp/myapp.git
227 [14:44:28]: ▸ 5368682..6369a0e  test -> test
228 [14:44:28]: Successfully pushed to remote.
229 [14:44:28]: ------------------------------
230 [14:44:28]: --- Step: get_certificates ---
231 [14:44:28]: ------------------------------
232 +----------------------+-------------------------------------------------+
233 |                        Summary for cert 2.145.0                        |
234 +----------------------+-------------------------------------------------+
235 | development          | false                                           |
236 | force                | false                                           |
237 | generate_apple_certs | true                                            |
238 | username             | greg@MYDOMAIN.com                              |
239 | team_id              | MYTEAM                                      |
240 | keychain_path        | /Users/greg/Library/Keychains/login.keychain-db |
241 | platform             | ios                                             |
242 +----------------------+-------------------------------------------------+
243 [14:44:28]: Starting login with user 'greg@MYDOMAIN.com'
244 [14:44:31]: Successfully logged in
245 [14:44:32]: Found the certificate MYCERT (Distribution) which is installed on the local machine. Using this one.
246 [14:44:33]: Verifying the certificate is properly installed locally...
247 [14:44:33]: Successfully installed certificate MYCERT
248 [14:44:33]: Use signing certificate 'MYCERT' from now on!
249 [14:44:33]: --------------------------------------
250 [14:44:33]: --- Step: get_provisioning_profile ---
251 [14:44:33]: --------------------------------------
252 +-------------------------------------+---------------------------+
253 |                    Summary for sigh 2.145.0                     |
254 +-------------------------------------+---------------------------+
255 | adhoc                               | false                     |
256 | developer_id                        | false                     |
257 | development                         | false                     |
258 | skip_install                        | false                     |
259 | force                               | false                     |
260 | app_identifier                      | com.myapp.dev.myapp |
261 | username                            | greg@MYDOMAIN.com        |
262 | team_id                             | MYTEAM                |
263 | ignore_profiles_with_different_name | false                     |
264 | cert_id                             | MYCERT                |
265 | skip_fetch_profiles                 | false                     |
266 | skip_certificate_verification       | false                     |
267 | platform                            | ios                       |
268 | readonly                            | false                     |
269 +-------------------------------------+---------------------------+
270 [14:44:33]: Starting login with user 'greg@MYDOMAIN.com'
271 [14:44:35]: Successfully logged in
272 [14:44:35]: Fetching profiles...
273 [14:44:36]: Verifying certificates...
274 [14:44:39]: Found 1 matching profile(s)
275 [14:44:39]: Downloading provisioning profile...
276 [14:44:40]: Successfully downloaded provisioning profile...
277 [14:44:40]: Installing provisioning profile...
278 /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/AppStore_com.myapp.dev.myapp.mobileprovision
279 [14:44:40]: Setting Provisioning Profile type to 'app-store'
280 [14:44:40]: -----------------------
281 [14:44:40]: --- Step: build_app ---
282 [14:44:40]: -----------------------
283 [14:44:40]: Successfully loaded '/Users/greg/builds/ykHv483k/0/myapp/myapp/ios/fastlane/Gymfile' 📄
284 +---------------------+---------------------+
285 | Detected Values from './fastlane/Gymfile' |
286 +---------------------+---------------------+
287 | scheme              | myapp             |
288 +---------------------+---------------------+
289 [14:44:40]: Resolving Swift Package Manager dependencies...
290 [14:44:40]: $ xcodebuild -resolvePackageDependencies -workspace ./myapp.xcworkspace -scheme myapp
291 [14:44:43]: ▸ Command line invocation:
292 [14:44:43]: ▸     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./myapp.xcworkspace -scheme myapp
293 [14:44:46]: ▸ resolved source packages: 
294 [14:44:46]: $ xcodebuild -showBuildSettings -workspace ./myapp.xcworkspace -scheme myapp
295 [14:44:49]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
296 [14:44:53]: Detected provisioning profile mapping: {:"com.myapp.dev.myapp"=>"com.myapp.dev.myapp AppStore"}
297 +---------------------------------------------------------------+---------------------------------------------------------+
298 |                                                 Summary for gym 2.145.0                                                 |
299 +---------------------------------------------------------------+---------------------------------------------------------+
300 | scheme                                                        | myapp                                                 |
301 | export_method                                                 | app-store                                               |
302 | export_options.provisioningProfiles.com.myapp.dev.myapp | com.myapp.dev.myapp AppStore                      |
303 | workspace                                                     | ./myapp.xcworkspace                                   |
304 | destination                                                   | generic/platform=iOS                                    |
305 | output_name                                                   | myapp                                               |
306 | build_path                                                    | /Users/greg/Library/Developer/Xcode/Archives/2020-04-12 |
307 | clean                                                         | false                                                   |
308 | output_directory                                              | .                                                       |
309 | silent                                                        | false                                                   |
310 | skip_package_ipa                                              | false                                                   |
311 | skip_package_pkg                                              | false                                                   |
312 | result_bundle                                                 | false                                                   |
313 | buildlog_path                                                 | ~/Library/Logs/gym                                      |
314 | skip_profile_detection                                        | false                                                   |
315 | xcode_path                                                    | /Applications/Xcode.app                                 |
316 +---------------------------------------------------------------+---------------------------------------------------------+
317 [14:44:53]: $ set -o pipefail && xcodebuild -workspace ./myapp.xcworkspace -scheme myapp -destination 'generic/platform=iOS' -archivePath /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive archive | tee /Users/greg/Library/Logs/gym/myapp-myapp.log | xcpretty
318 [14:45:05]: ▸ Compiling strtod.cc
319 [14:45:06]: ▸ Compiling double-conversion.cc
320 [14:45:06]: ▸ Compiling fixed-dtoa.cc
321 [14:45:06]: ▸ Compiling fast-dtoa.cc
322 [14:45:06]: ▸ Compiling strtod.cc
323 [14:45:06]: ▸ Compiling fixed-dtoa.cc
324 [14:45:06]: ▸ Compiling diy-fp.cc
325 [14:45:06]: ▸ Compiling cached-powers.cc
326 [14:45:06]: ▸ Compiling bignum.cc
327 [14:45:06]: ▸ Compiling bignum-dtoa.cc
328 [14:45:06]: ▸ Compiling DoubleConversion-dummy.m
329 [14:45:10]: ▸ Compiling fast-dtoa.cc
330 [14:45:10]: ▸ Compiling double-conversion.cc
331 [14:45:10]: ▸ Compiling diy-fp.cc
332 [14:45:10]: ▸ Compiling cached-powers.cc
333 [14:45:10]: ▸ Compiling bignum.cc
334 [14:45:10]: ▸ Compiling bignum-dtoa.cc
335 [14:45:10]: ▸ Compiling DoubleConversion-dummy.m
336 [14:45:10]: ▸ Building library libDoubleConversion.a
337 [14:45:10]: ▸ Building library libDoubleConversion.a
338 [14:45:10]: ▸ Compiling symbolize.cc
339 [14:45:12]: ▸ Compiling vlog_is_on.cc
340 [14:45:12]: ▸ Compiling utilities.cc
341 [14:45:12]: ▸ Compiling utilities.cc
342 [14:45:12]: ▸ Compiling vlog_is_on.cc
343 [14:45:12]: ▸ Compiling symbolize.cc
344 [14:45:12]: ▸ Compiling signalhandler.cc
345 [14:45:12]: ▸ Compiling raw_logging.cc
346 [14:45:12]: ▸ Compiling logging.cc
347 [14:45:15]: ▸ Compiling glog-dummy.m
348 [14:45:15]: ▸ Compiling demangle.cc
349 [14:45:15]: ▸ Compiling signalhandler.cc
350 [14:45:15]: ▸ Compiling raw_logging.cc
351 [14:45:15]: ▸ Compiling logging.cc
352 [14:45:15]: ▸ Compiling glog-dummy.m
353 [14:45:15]: ▸ Compiling demangle.cc
354 [14:45:15]: ▸ Building library libglog.a
355 [14:45:15]: ▸ Building library libglog.a
356 [14:45:15]: ▸ Compiling ScopeGuard.cpp
357 [14:45:21]: ▸ Compiling json_pointer.cpp
358 [14:45:21]: ▸ Compiling SpookyHashV2.cpp
359 [14:45:21]: ▸ Compiling Unicode.cpp
360 [14:45:21]: ▸ Compiling String.cpp
361 [14:45:21]: ▸ Compiling json.cpp
362 [14:45:25]: ▸ Compiling dynamic.cpp
363 [14:45:26]: ▸ Compiling Unicode.cpp
364 [14:45:26]: ▸ Compiling String.cpp
365 [14:45:26]: ▸ Compiling SpookyHashV2.cpp
366 [14:45:26]: ▸ Compiling ScopeGuard.cpp
367 [14:45:26]: ▸ Compiling MallocImpl.cpp
368 [14:45:26]: ▸ Compiling Format.cpp
369 [14:45:26]: ▸ Compiling Folly-dummy.m
370 [14:45:26]: ▸ Compiling F14Table.cpp
371 [14:45:26]: ▸ Compiling Demangle.cpp
372 [14:45:26]: ▸ Compiling Demangle.cpp
373 [14:45:26]: ▸ Compiling Conv.cpp
374 [14:45:26]: ▸ Compiling ColdClass.cpp
375 [14:45:26]: ▸ Compiling Assume.cpp
376 [14:45:26]: ▸ Compiling json_pointer.cpp
377 [14:45:26]: ▸ Compiling json.cpp
378 [14:45:28]: ▸ Compiling dynamic.cpp
379 [14:45:29]: ▸ Compiling MallocImpl.cpp
380 [14:45:29]: ▸ Compiling Format.cpp
381 [14:45:29]: ▸ Compiling Folly-dummy.m
382 [14:45:29]: ▸ Compiling F14Table.cpp
383 [14:45:29]: ▸ Compiling Demangle.cpp
384 [14:45:29]: ▸ Compiling Demangle.cpp
385 [14:45:29]: ▸ Compiling Conv.cpp
386 [14:45:29]: ▸ Compiling ColdClass.cpp
387 [14:45:29]: ▸ Compiling Assume.cpp
388 [14:45:29]: ▸ Building library libFolly.a
389 [14:45:29]: ▸ Building library libFolly.a
390 [14:45:29]: ▸ Compiling InspectorInterfaces.cpp
391 [14:45:31]: ▸ Compiling React-jsinspector-dummy.m
392 [14:45:31]: ▸ Compiling React-jsinspector-dummy.m
393 [14:45:31]: ▸ Compiling InspectorInterfaces.cpp
394 [14:45:31]: ▸ Building library libReact-jsinspector.a
395 [14:45:31]: ▸ Building library libReact-jsinspector.a
396 [14:45:31]: ▸ Compiling NativeToJsBridge.cpp
397 [14:45:40]: ▸ Compiling RAMBundleRegistry.cpp
398 [14:45:40]: ▸ Compiling React-cxxreact-dummy.m
399 [14:45:40]: ▸ Compiling ReactMarker.cpp
400 [14:45:40]: ▸ Compiling ReactMarker.cpp
401 [14:45:40]: ▸ Compiling React-cxxreact-dummy.m
402 [14:45:40]: ▸ Compiling ModuleRegistry.cpp
403 [14:45:40]: ▸ Compiling MethodCall.cpp
404 [14:45:40]: ▸ Compiling JSIndexedRAMBundle.cpp
405 [14:45:40]: ▸ Compiling JSExecutor.cpp
406 [14:45:40]: ▸ Compiling JSDeltaBundleClient.cpp
407 [14:45:40]: ▸ ⚠️  /Users/greg/builds/ykHv483k/0/myapp/myapp/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:30:29: loop variable 'pair' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
408 [14:45:40]: ▸   for (const folly::dynamic pair : *modules) {
409 [14:45:40]: ▸                             ^
410 [14:45:40]: ▸ ⚠️  /Users/greg/builds/ykHv483k/0/myapp/myapp/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:55:33: loop variable 'id' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
411 [14:45:40]: ▸       for (const folly::dynamic id : *deleted) {
412 [14:45:40]: ▸        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
413 [14:45:40]: ▸ Compiling JSBundleType.cpp
414 [14:45:40]: ▸ Compiling JSBigString.cpp
415 [14:45:40]: ▸ Compiling Instance.cpp
416 [14:45:41]: ▸ Compiling CxxNativeModule.cpp
417 [14:45:44]: ▸ Compiling RAMBundleRegistry.cpp
418 [14:45:44]: ▸ Compiling NativeToJsBridge.cpp
419 [14:45:44]: ▸ Compiling ModuleRegistry.cpp
420 [14:45:44]: ▸ Compiling MethodCall.cpp
421 [14:45:44]: ▸ Compiling JSIndexedRAMBundle.cpp
422 [14:45:44]: ▸ Compiling JSExecutor.cpp
423 [14:45:44]: ▸ Compiling JSDeltaBundleClient.cpp
424 [14:45:44]: ▸ ⚠️  /Users/greg/builds/ykHv483k/0/myapp/myapp/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:30:29: loop variable 'pair' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
425 [14:45:44]: ▸   for (const folly::dynamic pair : *modules) {
426 [14:45:44]: ▸            ^~~~~~~~~~~~~~~~~~~~~~~~~
427 [14:45:44]: ▸ ⚠️  /Users/greg/builds/ykHv483k/0/myapp/myapp/node_modules/react-native/ReactCommon/cxxreact/JSDeltaBundleClient.cpp:55:33: loop variable 'id' of type 'const folly::dynamic' creates a copy from type 'const folly::dynamic' [-Wrange-loop-analysis]
428 [14:45:44]: ▸       for (const folly::dynamic id : *deleted) {
429 [14:45:44]: ▸        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
430 [14:45:44]: ▸ Compiling JSBundleType.cpp
4303 [14:52:43]: ▸ Processing Info.plist
4304 [14:52:43]: ▸ Running script 'Bundle React Native code and images'
4305 [14:52:50]: ▸     the transform cache was reset.
4306 [14:54:02]: ▸ Generating 'myapp.app.dSYM'
4307 [14:54:02]: ▸ Running script '[CP] Copy Pods Resources'
4308 [14:54:11]: ▸ Touching myapp.app (in target 'myapp' from project 'myapp')
4309 [14:54:11]: ▸ Archive Succeeded
4310 [14:54:12]: Generated plist file with the following values:
4311 [14:54:12]: ▸ -----------------------------------------
4312 [14:54:12]: ▸ {
4313 [14:54:12]: ▸   "provisioningProfiles": {
4314 [14:54:12]: ▸     "com.myapp.dev.myapp": "com.myapp.dev.myapp AppStore"
4315 [14:54:12]: ▸   },
4316 [14:54:12]: ▸   "method": "app-store",
4317 [14:54:12]: ▸   "signingStyle": "manual"
4318 [14:54:12]: ▸ }
4319 [14:54:12]: ▸ -----------------------------------------
4320 [14:54:12]: $ /usr/bin/xcrun /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/5b/48tc05l16ss5yy8scyrjxc800000gn/T/gym_config20200412-56515-tfcpj3.plist' -archivePath /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive -exportPath '/var/folders/5b/48tc05l16ss5yy8scyrjxc800000gn/T/gym_output20200412-56515-1ohemnb' 
4321 [14:54:54]: Mapping dSYM(s) using generated BCSymbolMaps
4322 [14:54:54]: $ dsymutil --symbol-map /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive/BCSymbolMaps/5F9CB912-8E8C-34AD-B0D2-161548688F90.bcsymbolmap /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive/dSYMs/myapp.app.dSYM
4323 [14:54:59]: $ dsymutil --symbol-map /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive/BCSymbolMaps/0FB0954A-6F1E-3D21-B118-BC6F11E695B3.bcsymbolmap /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp\ 2020-04-12\ 14.44.53.xcarchive/dSYMs/myapp.app.dSYM
4324 [14:55:04]: Compressing 1 dSYM(s)
4325 [14:55:04]: $ cd '/Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp 2020-04-12 14.44.53.xcarchive/dSYMs' && zip -r '/Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp.app.dSYM.zip' *.dSYM
4326 [14:55:12]: ▸   adding: myapp.app.dSYM/ (stored 0%)
4327 [14:55:12]: ▸   adding: myapp.app.dSYM/Contents/ (stored 0%)
4328 [14:55:12]: ▸   adding: myapp.app.dSYM/Contents/Resources/ (stored 0%)
4329 [14:55:12]: ▸   adding: myapp.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
4330 [14:55:12]: ▸   adding: myapp.app.dSYM/Contents/Resources/DWARF/myapp (deflated 75%)
4331 [14:55:12]: ▸   adding: myapp.app.dSYM/Contents/Info.plist (deflated 52%)
4332 [14:55:12]: Successfully exported and compressed dSYM file
4333 [14:55:12]: Successfully exported and signed the ipa file:
4334 [14:55:12]: /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp.ipa
4335 [14:55:12]: ----------------------------------------
4336 [14:55:12]: --- Step: changelog_from_git_commits ---
4337 [14:55:12]: ----------------------------------------
4338 [14:55:12]: Collecting the last 3 Git commits
4339 [ci-skip] Version Bump to 33
4340 [ci-skip] Version Bump to 32
4341 Speedup of build
4342 [14:55:14]: ----------------------------------
4343 [14:55:14]: --- Step: upload_to_testflight ---
4344 [14:55:14]: ----------------------------------
4345 [14:55:14]: Login to App Store Connect (greg@MYDOMAIN.com)
4346 [14:55:17]: Login successful
4347 [14:55:18]: Ready to upload new build to TestFlight (App: 1505139879)...
4348 [14:55:22]: Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`
4349 [14:55:22]: Going to upload updated app to App Store Connect
4350 [14:55:22]: This might take a few minutes. Please don't interrupt the script.
4351 [15:05:19]: iTunes Transporter successfully finished its job
4352 [15:05:20]: --------------------------------------------------------------------
4353 [15:05:20]: Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online.
4354 [15:05:20]: --------------------------------------------------------------------
4355 [15:05:20]: Successfully uploaded the new binary to App Store Connect
4356 [15:05:20]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
4357 [15:05:20]: Note that if `skip_waiting_for_build_processing` is used but a `changelog` is supplied, this process will wait for the build to appear on AppStoreConnect, update the changelog and then skip the remaining of the processing steps.
4358 [15:05:20]: Waiting for processing on... app_id: 1505139879, app_version: 1.0, build_version: 33, platform: IOS
4359 [15:05:21]: Read more information on why this build isn't showing up yet - https://github.com/fastlane/fastlane/issues/14997
4360 [15:05:21]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4361 [15:05:52]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4362 [15:06:22]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4363 [15:06:53]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4364 [15:07:24]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4365 [15:07:55]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4366 [15:08:26]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4367 [15:08:57]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
4368 [15:09:30]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4369 [15:10:02]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4370 [15:10:33]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4371 [15:11:04]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4372 [15:11:35]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4373 [15:12:06]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4374 [15:12:37]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4375 [15:13:08]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4376 [15:13:39]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4377 [15:14:10]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4378 [15:14:41]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4379 [15:15:12]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4380 [15:15:43]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4381 [15:16:15]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4382 [15:16:45]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4383 [15:17:16]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4384 [15:17:47]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4385 [15:18:19]: Waiting for App Store Connect to finish processing the new build (1.0 - 33) for IOS
4386 [15:18:49]: Successfully finished processing the build 1.0 - 33 for IOS
4387 [15:18:52]: Successfully set the changelog for build
4388 [15:18:53]: Distributing new build to testers: 1.0 - 33
4389 [15:18:54]: Export compliance has been set to 'false'. Need to wait for build to finishing processing again...
4390 [15:18:54]: Set 'ITSAppUsesNonExemptEncryption' in the 'Info.plist' to skip this step and speed up the submission
4391 [15:18:54]: Waiting for processing on... app_id: 1505139879, app_version: 1.0, build_version: 33, platform: IOS
4392 [15:18:55]: Successfully finished processing the build 1.0 - 33 for IOS
4393 +---------------------+----------------------------------------------------------------------------------------------------------+
4394 |                                                          Lane Context                                                          |
4395 +---------------------+----------------------------------------------------------------------------------------------------------+
4396 | DEFAULT_PLATFORM    | ios                                                                                                      |
4397 | PLATFORM_NAME       | ios                                                                                                      |
4398 | LANE_NAME           | ios beta                                                                                                 |
4399 | BUILD_NUMBER        | 33                                                                                                       |
4400 | CERT_FILE_PATH      | /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/MYCERT.cer                                         |
4401 | CERT_CERTIFICATE_ID | MYCERT                                                                                               |
4402 | SIGH_PROFILE_PATH   | /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/AppStore_com.myapp.dev.myapp.mobileprovision     |
4403 | SIGH_PROFILE_PATHS  | ["/Users/greg/builds/ykHv483k/0/myapp/myapp/ios/AppStore_com.myapp.dev.myapp.mobileprovision"] |
4404 | SIGH_UDID           | MY_UUID                                                                    |
4405 | SIGH_UUID           | MY_UUID                                                                    |
4406 | SIGH_NAME           | com.myapp.dev.myapp AppStore                                                                       |
4407 | SIGH_PROFILE_TYPE   | app-store                                                                                                |
4408 | IPA_OUTPUT_PATH     | /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp.ipa                                          |
4409 | XCODEBUILD_ARCHIVE  | /Users/greg/Library/Developer/Xcode/Archives/2020-04-12/myapp 2020-04-12 14.44.53.xcarchive          |
4410 | DSYM_OUTPUT_PATH    | /Users/greg/builds/ykHv483k/0/myapp/myapp/ios/myapp.app.dSYM.zip                                 |
4411 | FL_CHANGELOG        | [ci-skip] Version Bump to 33                                                                             |
4412 |                     | [ci-skip] Version Bump to 32                                                                             |
4413 |                     | Speedup of build                                                                                         |
4414 +---------------------+----------------------------------------------------------------------------------------------------------+
4415 [15:18:56]: Missing required information to submit for external testing - Missing requied data.
4416 +------+----------------------------+-------------+
4417 |                fastlane summary                 |
4418 +------+----------------------------+-------------+
4419 | Step | Action                     | Time (in s) |
4420 +------+----------------------------+-------------+
4421 | 1    | default_platform           | 0           |
4422 | 2    | increment_build_number     | 3           |
4423 | 3    | commit_version_bump        | 0           |
4424 | 4    | push_to_git_remote         | 3           |
4425 | 5    | get_certificates           | 4           |
4426 | 6    | get_provisioning_profile   | 7           |
4427 | 7    | build_app                  | 631         |
4428 | 8    | changelog_from_git_commits | 0           |
4429 | 💥   | upload_to_testflight       | 1422        |
4430 +------+----------------------------+-------------+
4431 [15:18:56]: fastlane finished with errors
4432 Looking for related GitHub issues on fastlane/fastlane...
4433 Found no similar issues. To create a new issue, please visit:
4434 https://github.com/fastlane/fastlane/issues/new
4435 Run `fastlane env` to append the fastlane environment to your issue
4436 bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
4437 Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing requied data.
4438   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/connect_api/client.rb:134:in `handle_response'
4439   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/connect_api/client.rb:96:in `post'
4440   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:105:in `post_beta_app_review_submissions'
4441   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/spaceship/lib/spaceship/connect_api/models/build.rb:159:in `post_beta_app_review_submission'
4442   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/pilot/lib/pilot/build_manager.rb:338:in `distribute_build'
4443   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/pilot/lib/pilot/build_manager.rb:165:in `distribute'
4444   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/pilot/lib/pilot/build_manager.rb:61:in `upload'
4445   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:16:in `run'
4446   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:261:in `block (2 levels) in execute_action'
4447   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
4448   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:253:in `block in execute_action'
4449   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
4450   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
4451   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
4452   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
4453   Fastfile:33:in `block (2 levels) in parsing_binding'
4454   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/lane.rb:33:in `call'
4455   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
4456   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
4457   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
4458   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
4459   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
4460   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
4461   /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
4462   /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
4463   /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
4464   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
4465   /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
4466   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
4467   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
4468   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
4469   /Library/Ruby/Gems/2.6.0/gems/fastlane-2.145.0/bin/fastlane:23:in `<top (required)>'
4470   /usr/local/bin/fastlane:23:in `load'
4471   /usr/local/bin/fastlane:23:in `<top (required)>'

Environment

✅ fastlane environment ✅

Stack

Key Value
OS 10.15.4
Ruby 2.6.3
Bundler? false
Git git version 2.24.1 (Apple Git-126)
Installation Source /usr/local/bin/fastlane
Host Mac OS X 10.15.4 (19E287)
Ruby Lib Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
OpenSSL Version LibreSSL 2.8.3
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 11.4

System Locale

Variable Value
LANG en_AU.UTF-8
LC_ALL
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :tests do
    run_tests(scheme: "myappTests")
  end

  lane :beta do
    build_number = increment_build_number(xcodeproj: "myapp.xcodeproj")
    commit_version_bump(xcodeproj: "myapp.xcodeproj", message:"[ci-skip] Version Bump to #{build_number}")
    push_to_git_remote
    get_certificates
    get_provisioning_profile
    build_app(scheme: "myapp")
    changelog_from_git_commits(commits_count: 3)
    upload_to_testflight(distribute_external: true, groups: "MyGroup")
    slack(
      message: "New build #{build_number} now in TestFlight",
      success: true,
      slack_url: "https://hooks.slack.com/services/MY_SECRET_SLACK_HOOK"
    )
  end
end

`./fastlane/Appfile`
app_identifier("com.myapp.dev.myapp") # The bundle identifier of your app
apple_id("greg@MYDOMAIN.com") # Your Apple email address

itc_team_id("12345678") # App Store Connect Team ID
team_id("2XXXXXXX") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.145.0 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.3.0
slack-notifier 2.3.2
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
plist 3.5.0
public_suffix 2.0.5
addressable 2.7.0
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.7.1
tty-cursor 0.7.1
tty-spinner 0.9.3
babosa 1.0.3
colored 1.2
highline 1.7.10
commander-fastlane 4.4.6
excon 0.73.0
faraday 0.17.3
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
faraday_middleware 0.13.1
fastimage 2.1.7
gh_inspector 1.1.3
mini_magick 4.10.1
multi_xml 0.6.0
rubyzip 1.3.0
security 0.1.3
xcpretty-travis-formatter 1.0.0
dotenv 2.7.5
bundler 1.17.2
naturally 2.2.0
simctl 1.6.8
jwt 2.1.0
uber 0.1.0
declarative 0.0.10
declarative-option 0.1.0
representable 3.0.4
retriable 3.1.2
mini_mime 1.0.2
memoist 0.16.2
multi_json 1.14.1
os 1.1.0
googleauth 0.11.0
httpclient 2.8.3
google-api-client 0.36.4
emoji_regex 1.0.1
nanaimo 0.2.6
colored2 3.1.2
claide 1.0.3
CFPropertyList 3.0.2
atomos 0.1.3
xcodeproj 1.16.0
json 2.3.0
signet 0.14.0
digest-crc 0.5.1
google-cloud-errors 1.0.0
google-cloud-env 1.3.1
google-cloud-core 1.5.0
google-cloud-storage 1.26.0
aws-eventstream 1.1.0
aws-sigv4 1.1.1
aws-partitions 1.296.0
jmespath 1.4.0
aws-sdk-core 3.94.0
aws-sdk-kms 1.30.0
aws-sdk-s3 1.61.2
forwardable 1.2.0
logger 1.3.0
stringio 0.0.2
ipaddr 1.2.2
openssl 2.1.2
ostruct 0.1.0
strscan 1.0.0
date 2.0.0
fileutils 1.1.0
etc 1.0.1
io-console 0.4.7
zlib 1.0.0
libxml-ruby 3.1.0
rexml 3.1.9
psych 3.1.0
mutex_m 0.1.0
webrick 1.4.2

generated on: 2020-04-12

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 15
  • Comments: 28 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I think a better error message would be good here.

Anyway, got it working. Needed to add the beta_app_review_info:

upload_to_testflight(
    beta_app_review_info: {
        contact_email: "greg@MYDOMAIN.com",
        contact_first_name: "Greg",
        contact_last_name: "PT",
        contact_phone: "12345678",
        demo_account_name: "demo",
        demo_account_password: "demo"
    },
    distribute_external: true, groups: "MyGroup"
)

I guess it’s not possible from CLI to pass these parameters: you need make Ruby script to pass them. However, it’s just a workaround, but not the fix. The issue is that API call doesn’t use the parameters defined in iTunes Connect -> TestFlight -> Test Information: image

Moreover, each time I set these parameters in iTunes Connect and try to put a build on to the channel using fastlane the parameters become cleared!

@1Siger1 Don’t know if you fixed it already, but I found this comment posted by @kitolog and it solved the problem in Azure for me. I just added the JSON value to the ‘Variables’ tab and everything started working again.

Name Value
PILOT_BETA_APP_REVIEW_INFO {“contact_email”:“…”, “contact_first_name”: “…” …

microsoft/app-store-vsts-extension#150

I am still facing the issue using command line. Scenario is where I don’t want to pass beta_app_review_info every time when I try to distribute the build to TestFlight.

And so my command looks like this fastlane pilot upload -u xxx -a xxx -q xxx -g xxxx

The fix #16314 solves only when we pass beta_app_review_info with values. But we don’t have to pass every time we distribute the build.

And issue is coming from fastlane code here which is checking #If demo_account_required is a parameter, it should added into beta_app_review_info https://github.com/fastlane/fastlane/blob/master/pilot/lib/pilot/build_manager.rb#L219

Since options[: demoAccountRequired] is default to false, which means we always tries to update beta_app_review_info with

{ "demoAccountRequired": false }

And I have verified the behaviour by hitting the apple api betaAppReviewDetails patch call and it resets the whole data if other values in attributes doesn’t exists image

@snatchev @joshdholtz

One solution I could think of:

try fetching the existing betaAppReviewDetails and patch it by merging the data passed by customer… Any thoughts ?

Cross posted here too: https://github.com/fastlane/fastlane/issues/16394#issuecomment-623004738

If you’re using the CLI, please try https://github.com/fastlane/fastlane/pull/16314 which will let you pass in the hash in json syntax.

We’re using the build.post_beta_app_review_submissions directly (link to the method) so we can submit the existing build for beta testers. It is now failing. Is it possible to provide a beta_app_review_info using it?

This is the lane we use to submit the build for beta testing (it is failing on uploaded_build.post_beta_app_review_submission):

  lane :beta_review do |options|
    # login the user  with Spaceship::Tunes.login

    # get build
    app = Spaceship::ConnectAPI::App.find(bundle_id)
    all_builds = app.get_builds(filter: { version: build_number, "preReleaseVersion.version": version})
    uploaded_build = all_builds.first

    # submit for external review
    uploaded_build.post_beta_app_review_submission

    # add to test group
    beta_groups = app.get_beta_groups.select do |group| external_group.include?(group.name) end
    uploaded_build.add_beta_groups(beta_groups: beta_groups)
  end

I guess you may pass it like that:

  attributes = {}
    attributes[:contactEmail] = info[:contact_email]
    attributes[:contactFirstName] = info[:contact_first_name] 
    attributes[:contactLastName] = info[:contact_last_name] 
    attributes[:contactPhone] = info[:contact_phone] 
    attributes[:demoAccountName] = info[:demo_account_name]
    attributes[:demoAccountPassword] = info[:demo_account_password] 
    attributes[:demoAccountRequired] = info[:demo_account_required] 
    attributes[:notes] = info[:notes] 

    Spaceship::ConnectAPI.patch_beta_app_review_detail(app_id: build.app.id, attributes: attributes)

Same here, I think demo_account_required: false, is required now. The default value has changed into true?