Skip to content

[spaceship] Not Found error on all actions/spaceship depending on ITC login to set team id due to change on Apple #19124

@kevinmun

Description

@kevinmun

New Issue Checklist

Issue Description

download_dsyms(version: "latest") started returning Not Found error all of a sudden, I tried switching it to a specific existing version but it's throwing the same error. This is weird as it was still working last week.

Command executed

download_dsyms(version: "latest") / download_dsyms(version: "<specific_version>")

Complete output when running fastlane, including the stack trace and command used
🚫 fastlane environment 🚫

StackTrace

Traceback (most recent call last):
31: from /Users/kev/.rvm/gems/ruby-2.7.0/bin/fastlane:23:in <main>' 30: from /Users/kev/.rvm/gems/ruby-2.7.0/bin/fastlane:23:in load'
29: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/bin/fastlane:23:in <top (required)>' 28: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'
27: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/commands_generator.rb:42:in start' 26: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/commands_generator.rb:353:in run'
25: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' 24: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
23: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' 22: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
21: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call' 20: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run'
19: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 18: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
17: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:45:in execute' 16: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
15: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 14: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/lane.rb:33:in call'
13: from Fastfile:257:in block in parsing_binding' 12: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
11: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 10: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
9: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:229:in chdir' 8: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
7: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' 6: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
5: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/fastlane/lib/fastlane/actions/download_dsyms.rb:18:in run' 4: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/spaceship/lib/spaceship/connect_api/spaceship.rb:85:in login'
3: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/spaceship/lib/spaceship/connect_api/client.rb:69:in login' 2: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/spaceship/lib/spaceship/tunes/tunes_client.rb:84:in select_team'
1: from /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/spaceship/lib/spaceship/client.rb:172:in team_id=' /Users/kev/.rvm/gems/ruby-2.7.0/gems/fastlane-2.187.0/spaceship/lib/spaceship/tunes/tunes_client.rb:230:in handle_itc_response': \e[31m[!] The request could not be completed because: (Spaceship::Tunes::Error)
Not Found\e[0m

Stack

Key Value
OS 11.1
Ruby 2.7.0
Bundler? false
Git git version 2.30.1 (Apple Git-130)
Installation Source ~/.rvm/gems/ruby-2.7.0/bin/fastlane
Host macOS 11.1 (20C69)
Ruby Lib Dir ~/.rvm/rubies/ruby-2.7.0/lib
OpenSSL Version OpenSSL 1.0.2u 20 Dec 2019
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 12.5
Swift Version 5.4

System Locale

Error
No Locale with UTF8 found 🚫

fastlane files:

`./fastlane/Fastfile`
fastlane_version "2.94.0"

default_platform :ios

lane :upload_dsyms do
  download_dsyms(version: "latest")
  upload_symbols_to_crashlytics(
    api_token: ENV["FABRIC_API_KEY"],
    gsp_path: ""
    )
end
`./fastlane/Appfile`
app_identifier "" # The bundle identifier of your app
apple_id ENV["APPLE_ID"]

team_id ENV["TEAM_ID"]


for_lane :adhoc do
	app_identifier ''
end

for_lane :adhoc_staging do
	app_identifier ''
end  

fastlane gems

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

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-firebase_app_distribution 0.2.9 ✅ Up-To-Date
Loaded gems
Gem Version
did_you_mean 1.4.0
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
artifactory 3.0.15
colored 1.2
highline 2.0.3
commander 4.6.0
faraday_middleware 1.0.0
gh_inspector 1.1.3
security 0.1.3
dotenv 2.7.6
simctl 1.6.8
retriable 3.1.2
memoist 0.16.2
multi_json 1.15.0
googleauth 0.16.2
httpclient 2.8.3
google-apis-core 0.4.1
google-apis-playcustomapp_v1 0.5.0
google-apis-androidpublisher_v3 0.8.0
google-cloud-core 1.6.0
google-cloud-storage 1.34.1
uri 0.10.0
rexml 3.2.5
nanaimo 0.3.0
colored2 3.1.2
claide 1.0.3
CFPropertyList 3.0.3
atomos 0.1.3
xcodeproj 1.20.0
plist 3.6.0
public_suffix 4.0.6
addressable 2.8.0
babosa 1.0.4
excon 0.85.0
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.4
ruby2_keywords 0.0.5
faraday-patron 1.0.0
faraday-net_http_persistent 1.2.0
faraday-net_http 1.0.1
faraday-httpclient 1.0.1
faraday-excon 1.1.0
faraday-em_synchrony 1.0.0
faraday-em_http 1.0.0
faraday 1.5.1
faraday-cookie_jar 0.0.7
fastimage 2.2.4
json 2.5.1
mini_magick 4.11.0
naturally 2.2.1
rubyzip 2.3.2
xcpretty-travis-formatter 1.0.1
bundler 2.1.4
jwt 2.2.3
trailblazer-option 0.1.1
declarative 0.0.20
uber 0.1.0
representable 3.1.1
mini_mime 1.1.0
os 1.1.1
signet 0.15.0
webrick 1.7.0
google-cloud-env 1.5.0
google-cloud-errors 1.1.0
google-apis-iamcredentials_v1 0.6.0
google-apis-storage_v1 0.6.0
rake 13.0.6
digest-crc 0.6.3
emoji_regex 3.2.2
aws-eventstream 1.1.1
aws-sigv4 1.2.4
aws-partitions 1.479.0
jmespath 1.4.0
aws-sdk-core 3.117.0
aws-sdk-kms 1.44.0
aws-sdk-s3 1.96.2
forwardable 1.3.1
logger 1.4.2
cgi 0.1.0
date 3.0.0
timeout 0.1.0
stringio 0.1.0
ipaddr 1.2.2
openssl 2.1.2
zlib 1.1.0
mutex_m 0.1.0
ostruct 0.2.0
strscan 1.0.3
io-console 0.5.3
delegate 0.1.0
fileutils 1.4.1
singleton 0.1.0
open3 0.1.0
nokogiri 1.11.7
racc 1.5.2
yaml 0.1.0
psych 3.1.0
fastlane-plugin-firebase_app_distribution 0.2.9
pstore 0.1.0

generated on: 2021-07-22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions