fastlane: Uploading App Icon Causes iTunes Connect 500
New Issue Checklist
- Updated fastlane to the latest version
- I have read the Contribution Guidelines
Issue Description
A successful fastlane release will make subsequent fastlane release fail. iTunes connect will return Error: 500 Internal Server Error. After a few minutes iTunes connect will recover. Then I can upload again. It seems like this issue happens after I added app_icon to Deliverfile.
Itβs a iMessage sticker pack app.
Complete output when running fastlane, including the stack trace and command used
[01:13:29]: -------------------------------------------------
[01:13:29]: --- Step: Verifying required fastlane version ---
[01:13:29]: -------------------------------------------------
[01:13:29]: Your fastlane version 1.105.0 matches the minimum requirement of 1.104.0 β
[01:13:29]: ------------------------------
[01:13:29]: --- Step: default_platform ---
[01:13:29]: ------------------------------
[01:13:29]: Driving the lane 'ios meta' π
[01:13:29]: ---------------------
[01:13:29]: --- Step: deliver ---
[01:13:29]: ---------------------
[01:13:29]: Login to iTunes Connect (#########)
[01:13:30]: Login successful
+--------------------------------------+---------------------------------------+
| deliver 1.14.0 Summary |
+--------------------------------------+---------------------------------------+
| force | true |
| skip_binary_upload | true |
| skip_screenshots | true |
| app_review_information.first_name | ##### |
| app_review_information.last_name | ### |
| app_review_information.phone_number | ##### |
| app_review_information.email_address | ###### |
| app_rating_config_path | ../../Metadata/default_ratings.json |
| app_icon | ../../Metadata/Images/Icon.png |
| price_tier | 2 |
| automatic_release | true |
| screenshots_path | ./fastlane/screenshots |
| metadata_path | ./fastlane/metadata |
| username | ##### |
| app_identifier | ##### |
| skip_metadata | false |
| submit_for_review | false |
| dev_portal_team_id | ##### |
+--------------------------------------+---------------------------------------+
[01:13:31]: Loading './fastlane/metadata/en-US/description.txt'...
[01:13:31]: Loading './fastlane/metadata/en-US/keywords.txt'...
[01:13:31]: Loading './fastlane/metadata/en-US/support_url.txt'...
[01:13:31]: Loading './fastlane/metadata/en-US/marketing_url.txt'...
[01:13:31]: Loading './fastlane/metadata/en-US/name.txt'...
[01:13:31]: Loading './fastlane/metadata/en-US/privacy_url.txt'...
[01:13:31]: Loading './fastlane/metadata/copyright.txt'...
[01:13:31]: Loading './fastlane/metadata/primary_category.txt'...
[01:13:31]: Loading './fastlane/metadata/secondary_category.txt'...
[01:13:31]: Loading './fastlane/metadata/primary_first_sub_category.txt'...
[01:13:31]: Loading './fastlane/metadata/primary_second_sub_category.txt'...
[01:13:31]: Loading './fastlane/metadata/secondary_first_sub_category.txt'...
[01:13:31]: Loading './fastlane/metadata/secondary_second_sub_category.txt'...
[01:13:31]: Activating language en-US...
[01:13:33]: Uploading metadata to iTunes Connect
[01:13:34]: Successfully uploaded initial set of metadata to iTunes Connect
[01:13:36]: Price Tier unchanged (tier #)
[01:13:36]: Uploading app icon...
[01:13:41]: Finished the upload to iTunes Connect
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | deliver | 12 |
+------+-------------------------------------+-------------+
[01:13:41]: fastlane.tools finished successfully π
[01:13:42]: -------------------------------------------------
[01:13:42]: --- Step: Verifying required fastlane version ---
[01:13:42]: -------------------------------------------------
[01:13:42]: Your fastlane version 1.105.0 matches the minimum requirement of 1.104.0 β
[01:13:42]: ------------------------------
[01:13:42]: --- Step: default_platform ---
[01:13:42]: ------------------------------
[01:13:42]: Driving the lane 'ios meta' π
[01:13:42]: ---------------------
[01:13:42]: --- Step: deliver ---
[01:13:42]: ---------------------
[01:13:42]: Login to iTunes Connect (######)
[01:13:43]: Login successful
[01:13:43]: Variable Dump:
[01:13:43]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios meta"}
[01:13:43]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unexpected Error"], "info"=>nil}, "statusCode"=>"ERROR"}
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| π₯ | deliver | 1 |
+------+-------------------------------------+-------------+
[01:13:43]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
β‘οΈ Unexpected Error
https://github.com/fastlane/fastlane/issues/3032 [closed] 2 π¬
2 weeks ago
β‘οΈ Unexpected Response error when Running 'Spaceship::Tunes::Application.all'
https://github.com/fastlane/fastlane/issues/3908 [closed] 1 π¬
2 weeks ago
β‘οΈ Deliver fails to create a new version in iTunes Connect for a Mac App
https://github.com/fastlane/fastlane/issues/6152 [open] 5 π¬
a week ago
and 4 more at: https://github.com/fastlane/fastlane/search?q=%7B%22data%22=%3Enil,%20%22messages%22=%3E%7B%22warn%22=%3Enil,%20%22error%22=%3E[%22Unexpected%20Error%22],%20%22info%22=%3Enil%7D,%20%22statusCode%22=%3E%22ERROR%22%7D&type=Issues&utf8=β
/usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.34.2/lib/spaceship/client.rb:453:in `parse_response': [!] {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unexpected Error"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.34.2/lib/spaceship/tunes/tunes_client.rb:201:in `applications'
from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.34.2/lib/spaceship/tunes/application.rb:56:in `all'
from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.34.2/lib/spaceship/tunes/application.rb:62:in `find'
from /usr/local/lib/ruby/gems/2.3.0/gems/deliver-1.14.0/lib/deliver/detect_values.rb:26:in `find_app'
from /usr/local/lib/ruby/gems/2.3.0/gems/deliver-1.14.0/lib/deliver/detect_values.rb:5:in `run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/deliver-1.14.0/lib/deliver/runner.rb:8:in `initialize'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/actions/deliver.rb:18:in `new'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/actions/deliver.rb:18:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in `block in execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `chdir'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `execute_action'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
from Fastfile:23:in `block (2 levels) in parsing_binding'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in `block in execute'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `chdir'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `execute'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in `handle'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in `start'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.105.0/bin/fastlane:5:in `<top (required)>'
from /usr/local/bin/fastlane:22:in `load'
from /usr/local/bin/fastlane:22:in `<main>'
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
fastlane_version "1.104.0"
default_platform :ios
platform :ios do
desc "Create a new app"
lane :create do
produce(
username: "#####",
app_identifier: "####",
app_name: "#####",
app_version: "1.0",
language: "English",
sku: "#####",
skip_itc: true
)
end
desc "Deploy a new version to the App Store"
lane :release do
gym(scheme: "StickerPackExtension")
deliver(force: true)
end
desc "Deploy a new metadata to the App Store"
lane :meta do
deliver(force: true, skip_binary_upload: true, skip_screenshots: true)
end
end
Deliverfile:
app_review_information(
first_name: "###",
last_name: "###",
phone_number: "###",
email_address: "#####",
)
app_rating_config_path "../../Metadata/default_ratings.json"
app_icon "../../Metadata/Images/Icon.png"
price_tier 2
automatic_release true
Environment
fastlane version (run fastlane -v): fastlane 1.105.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Fix upload of app icon for app and watch Similar to https://github.com/fastlane/fastlane/pull/6423 Fixes https://github.com/fastlane/fastlane/issues/6425 Fixes https://github.com/fastlane/fastlane/is... — committed to fastlane/fastlane by KrauseFx 8 years ago
- Fix upload of app icon for app and watch (#6652) * Fix upload of app icon for app and watch Similar to https://github.com/fastlane/fastlane/pull/6423 Fixes https://github.com/fastlane/fastlane/is... — committed to fastlane/fastlane by KrauseFx 8 years ago
deliver 1.14.3 has been released to fix this! π