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
The pull request #19132 that closed this issue was merged and released as part of fastlane 2.188.0 🚀 Please let us know if the functionality works as expected as a reply here. If it does not, please open a new issue. Thanks!
Please stop commenting with just +1. You are needlessly spamming the issue and making a lot of noise which makes it hard for people to read the issue.
Hello! I’m here now 😇
Thank you to @crazymanish for making a PR for this. I’ll be reviewing and testing this now and help address any other issues.
Once good we will merge and get a release out right away 💪
❇️ Officla Update
Hey, fam! The homebrew install is at 2.188.0 now so the fix should be live everywhere 💪
❇️ Official Update: my PR branch is still up but PR is merged
Now working on bumping version and cutting new release
Update: There is a brand new endpoint for getting teams and switching teams soooooo… might be a bit 🤷♂️
Hello all, Can you please test this PR #19131 😇
Testing Steps
Gemfileto 👇 and runbundle install,bundle update fastlane, orbundle updatedownload_dsymsorlatest_testflight_build_numberor your failing action+1 I totally agree with you
I comment out it for temporary use while waiting for fix. Need
itc_team_idmanual input@claesjacobsson The new release with the fix is not out yet. It should be about in like 20 minutes if everything goes right. The new version will be
2.188.0Looks like https://github.com/fastlane/fastlane/blob/e874a47c6e2e0e61590a03d3b71e75e5a505d1ce/spaceship/lib/spaceship/client.rb#L164 is no longer there on Apple’s server.
❇️ Official Update : new PR over at #19132 with fix for switching teams
There are instructions in the PR for testing out that branch
Summary
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/v2/session/webSessionhttps://appstoreconnect.apple.com/olympus/v1/providerSwitchRequestsWhen will this get released to RubyGems and brew?
I would like some of you having issues to test this new branch out 😊 When I get enough 👍s, I will merge and prep a new release.
Surely we know by now that commenting +1 is not something we do on GitHub because it spams all subscribers with pointless comments?
But yeah, it’s broken for me as well. Sad face.
Reopening to address https://github.com/fastlane/fastlane/pull/19131#issuecomment-885031429
Another PR will be on the way soon ™️
@joshdholtz thanks for fixing so quickly! 🚀🙌
Same issue, but good job on the quick link to this issue from running fastlane, it saved me a lot of time
@KhaosT I briefly tried
req.url("ra/v2/session/webSession")and seems to have progress…Using “crazymanish-spaceship-client-fix” produces a different error, before it was
Not Found:There are multiple teams associated to the account I tried with. Anyone else experienced this issue?
homebrew Review required
At least 1 approving review is required by reviewers with write access.
I am using fastlane through Bitrise, it there any way to get it working there?
🚀Now, it works perfectly. 🚀 Thank you for the fix. @joshdholtz
Anybody else not able to install the latest fastlane? I run update_fastlane then it tells me there is a new version but then doesn’t install it and then tells me to run the same command to update to the latest version. Not really sure why this is happening.
Thanks for fixing and rolling out that quick. I can confirm it works perfectly.
RE @crazymanish I am able to use this workaround only using a developer account that is associated with 1 team. When I do that all is great and I am thankful for your workaround. However note- if youre dev account has multiple teams associated it may not work. So some folks may need to create a new account, associate it with your team and then run the commands through that account.
fastlane update but issue still remain Command I use is a personalize command “send_to_itc” and send datas written on deliverfile
homebrewinstallation isn’t working yet. It still installs 2.187.0@joshdholtz Updated to 2.188.0, it’s fixed! Thanks for the fast turnaround! 👍
Same problem here using Bitrise
Does it mean, You were able to log in successfully? Full logs, please?
Btw, I tried below and it works
FYI all, I am going to delete all
+1comments! those are not very helpful to find the root cause and make more unnessary noise! Please use 👍 emoji! which is indirectly equivalent to+1❤️🤗works
I saved the rest of my night because of obnoxious spam. High velocity spam is the only way I would have found this and the only way the problem will rapidly get fixed. This will land in the inbox of a stakeholder in Cupertino that can actually do something.
So I’m +1ing your comment because the additional spam it’s about to create.
On Thu, Jul 22, 2021 at 00:05 evan @.***> wrote:
I am also getting same issue and my nightly build machine stopped working.
running with --verbose gives this stack trace. It looks like its an issue on Apple’s side, returning a not found error
I am getting a similar error with the
latest_testflight_build_numberlane. Was working fine 4 hours ago.@RyanMitchellWilson @niddhogg Can you try running
bundle update fastlaneorbundle updateif you are using a `Gemfile?@joshdholtz will do!
@joshdholtz This example now works on your branch from #19132. 👍
I’m seeing this
Not Founderror on theupload_to_app_storeaction. Haven’t seen anyone mention this thus far. Anyone else seeing this?Edit: @crazymanish is your PR solely a workaround for the
download_dsymsaction? Apologies, I’m not familiar with this code base.Work for me with the branch, ipa is uploaded
Yes- log in worked successfully. Here are my logs
Yep working for me too
Yay! Thank you @crazymanish it works for me 😄
@crazymanish I tried using your branch and am getting
c8958f/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in
method_missing' /Users/applem/.rvm/gems/ruby-2.7.0/bundler/gems/fastlane-7b45f3c8958f/fastlane_core/lib/fastlane_core/ui/interface.rb:141:inuser_error!’ [!] Could not find an app on App Store Connect with app_identifier: {my identifier}Maybe worth noting that my app store account is associated with several teams? and also that this was working yesterday as well for me
Can we expect a hotfix release of fastlane?
https://appstoreconnect.apple.com/access/api
It seems to be basic depend api is not available acess,when you try to access ,it will redirect you to user page
It also happened when I execute ‘upload_to_testflight’
same here
same here
for now I have manually uploaded with transporter tool.
+1
+1
+1
+1
+1
+1
+1
+1
same here
+1
Also happening for me this morning (GMT+7). Last night everything worked normally.
me 2
Could you tease this out into a step by step process for people who are trying to still use
fastlanefor their iOS stuff, pretty, pretty please?me 2
i alse have this bug
+1
+1
+1
Updating fastlane from 2.187.0 to 2.188.0… but never actually updating I have same issue.
@capyvara There will be no change needed for you. All of the actions/tools use the
spaceshipmodule internally to communicate with Apple. Thespaceshipmodule can also be used directly which is what some of the examples in here are showing. Once the new version is released you should be 💯@AlphaJuliettOmega I’m not exactly sure how that works on bitrese but my guess is you should be good when version
2.188.0is released. I’ll mention here in this thread when that is pushed out.@joshdholtz Thank you for your amazing work as always!
I confirmed this is working for 130+ teams account. Previous pr comment for reference, https://github.com/fastlane/fastlane/pull/19131#issuecomment-885031429.
Working Script
Just a note,
app = Spaceship::Application.find 'XXX'returns an app. The connect api version though has stopped workingapp = Spaceship::ConnectAPI::App.find('XXX'), it returnsnil. This was working before the endpoint change. Not sure how related they are. We never provided an explicit connect api key before.@crazymanish
here is my log for using the PR #19131
bundle exec fastlane pilot upload --ipa ./latest.ipa --verbose [✔] 🚀 Successfully loaded Appfile at path ‘/Users/xxx/xxx/fastlane/Appfile’
INFO [2021-07-22 14:52:11.80]: Login to App Store Connect (xx@xxx.xxx) Reading keychain entry, because either user or password were empty Loading session from ‘/Users/xxx/.fastlane/spaceship/xxx/cookie’ Looking for App Store Connect Team with ID xxx INFO [2021-07-22 14:52:13.31]: Login successful DEBUG [2021-07-22 14:52:13.31]: App identifier (xxx) bundler: failed to load command: fastlane (/Library/Ruby/Gems/2.6.0/bin/fastlane) FastlaneCore::Interface::FastlaneError: [!] Couldn’t find app ‘xxx’ on the account of ‘xxx’ on App Store Connect /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in
user_error!' /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/fastlane_core/lib/fastlane_core/ui/ui.rb:17:inmethod_missing’ /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/pilot/lib/pilot/manager.rb:65:infetch_app_id' /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/pilot/lib/pilot/build_manager.rb:23:inupload’ /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/pilot/lib/pilot/commands_generator.rb:67:inblock (2 levels) in run' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:incall’ /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:inrun' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:inrun_active_command’ /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:inrun!' /Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:inrun!’ /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/pilot/lib/pilot/commands_generator.rb:167:inrun' /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/pilot/lib/pilot/commands_generator.rb:19:instart’ /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/fastlane/lib/fastlane/cli_tools_distributor.rb:114:intake_off' /Library/Ruby/Gems/2.6.0/bundler/gems/fastlane-7b45f3c8958f/bin/fastlane:23:in<top (required)>’ /Library/Ruby/Gems/2.6.0/bin/fastlane:23:inload' /Library/Ruby/Gems/2.6.0/bin/fastlane:23:in<top (required)>’Thank you @crazymanish it works for me too 😃
for me it is:
[!] Couldn’t find app ‘my.bundle.id’ on the account of ‘my@apple-account.com’ on App Store Connect
even though this account is associated with this bundle id and yesterday it worked
Experiencing the exact same problem, let me know when resolved!
Same problem
Same problem (using upload_privacy_data or deliver).
still doesn’t work
@tuanpmt THX - worked for me
+1 help
Same here.
Having the same issue. Was working fine yesterday
+1 here Last night working properly, since this morning cannot automatically upload using Fastlane GMT +7 here
+1
+1
+1
@kevinmun Would you consider changing the title of this issue to reflect the fact that it occurs on iTC login when setting the team id, and it affects all actions requiring an ITC session as a result of a change made by Apple?
Pretty straightforward actually:
download dsymoption under includes symbolsCrashlytics has a section on this: https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports?platform=ios#expandable-1
Anyone have a workaround? Seems to be HARD down.
same here…
same
+1