Closed johnrutherford closed 8 years ago
Thanks for this report! Looks like a bug, during error reporting, I'll look into the crash, but it looks like the underlying cause was that it could not find the requested build.
I think this crash will be fixed by https://github.com/fastlane/fastlane_core/pull/99
Thanks.
Any idea what the original error may have been caused by? Here's the other part of the log prior to the error. It says the build was uploaded, but I still don't see any builds listed in iTunes Connect.
[15:06:48]: Successfully uploaded screenshots to iTunes Connect
[15:06:49]: Finished the upload to iTunes Connect
[15:06:50]: Selecting the latest build...
[15:06:52]: Variable Dump:
[15:06:52]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios build_app_store", :BUILD_NUMBER=>"1013", :CERT_FILE_PATH=>"/Users/xxxxx/buildAgent/work/61487852e67586e8/certificates/6KV42T9252.cer", :CERT_CERTIFICATE_ID=>"6KV42T9252", :SIGH_PROFILE_PATH=>"/Users/xxxxx/buildAgent/work/61487852e67586e8/provisioning_profiles/AppStore_us.xxxxx.XXXApp.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/xxxxx/buildAgent/work/61487852e67586e8/provisioning_profiles/AppStore_us.xxxxx.XXXApp.mobileprovision"], :SIGH_UDID=>"647fd35f-a2f8-4775-8298-629b9f8e56da", :SIGH_PROFILE_TYPE=>"app-store", :SNAPSHOT_SCREENSHOTS_PATH=>"/Users/xxxxx/buildAgent/work/61487852e67586e8/screenshots", :IPA_OUTPUT_PATH=>"/Users/xxxxx/buildAgent/work/61487852e67586e8/builds/XXXApp.ipa", :DSYM_OUTPUT_PATH=>"/Users/xxxxx/buildAgent/work/61487852e67586e8/builds/XXXApp.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/xxxxx/Library/Developer/Xcode/Archives/2016-02-11/XXXApp 2016-02-11 15.05.03.xcarchive"}
[15:06:52]: undefined method `red' for []:Array
I think the binary upload is being skipped: https://github.com/fastlane/deliver/blob/a26bfb9758f7b20842ba8fde0e203fb1b5312e6e/lib/deliver/runner.rb#L24
Here is the deliver summary. I don't see why the binary upload should be getting skipped.
+--------------------+-----------------------------------------------------------------------+
| deliver 1.10.0 Summary |
+--------------------+-----------------------------------------------------------------------+
| username | xxxx@xxxxxx.com |
| app_identifier | us.xxxxx.XXXApp |
| ipa | /Users/xxxxx/buildAgent/work/61487852e67586e8/builds/XXXApp.ipa |
| metadata_path | ./fastlane/metadata |
| screenshots_path | /Users/xxxxx/buildAgent/work/61487852e67586e8/screenshots |
| skip_binary_upload | false |
| skip_screenshots | false |
| app_version | 1.20.0 |
| skip_metadata | false |
| force | true |
| submit_for_review | true |
| automatic_release | true |
| build_number | latest |
+--------------------+-----------------------------------------------------------------------+
I wonder if it is related to https://github.com/fastlane/deliver/issues/576
Yeah. Looks like the same issue. I think the binary upload may be getting skipped because options[:build_number]
is being defaulted to "latest"
.
Setting a fixed build number for deliver still doesn't upload anything.
@askielboe @johnrutherford Working on a fix right now, please subscribe to https://github.com/fastlane/deliver/issues/576 for updates :+1:
I just pushed https://github.com/fastlane/deliver/releases/tag/1.10.1
I'll close this issue for now, feel free to re-open if you run into any other issues :+1:
This issue was migrated to https://github.com/fastlane/fastlane/issues/2114. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket:
I just updated to fastlane 1.58.0 and just got this error when trying to submit a build to iTunes Connect.