You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to fastlane and I try, on a test project, to use pilot to upload a build. Unfortunately, when I tried I ran into this error:
[!] Couldn't find app '[[XXXXXXX]]' on the account of '' on App Store Connect
So, as the app exists on app store connect, I tried just to list the existing builds with pilot builds, but it also failed:
fastlane pilot builds --api_key_path fastlane/authent.json --app-identifier XXXXXXX
So I tried using username, and it worked...
fastlane pilot builds --username YYYYYY --app-identifier XXXXXXX
And as the authentication works with match I think something is going on here...
Command executed
fastlane pilot builds --api_key_path fastlane/authent.json --app-identifier XXXXXXX
Complete output when running fastlane, including the stack trace and command used
[✔] 🚀
[09:00:43]: fastlane detected a Gemfile in the current directory
[09:00:43]: However, it seems like you didn't use `bundle exec`
[09:00:43]: To launch fastlane faster, please use
[09:00:43]:
[09:00:43]: $ bundle exec fastlane pilot builds --api_key_path fastlane/authent.json --app-identifier XXXXXXX
[09:00:43]:
[09:00:43]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[09:00:44]: Creating authorization token for App Store Connect API
Looking for related GitHub issues on fastlane/fastlane...
🔗 You can ⌘ + double-click on links to open them directly in your browser.
/opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/api_client.rb:204:in handle_response': \e[31m[!] The URL path is not valid - The relationship 'buildDeliveries' does not exist\e[0m (Spaceship::UnexpectedResponse) from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/api_client.rb:113:in get'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:475:in get_build_deliveries' from /opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/forwardable.rb:238:in get_build_deliveries'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/models/app.rb:368:in get_build_deliveries' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/build_manager.rb:212:in list'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:91:in block (2 levels) in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:167:in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:19:in start'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in take_off' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/bin/fastlane:23:in <top (required)>'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/bin/fastlane:25:in load' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/bin/fastlane:25:in
'
/opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/api_client.rb:204:in handle_response': The URL path is not valid - The relationship 'buildDeliveries' does not exist (Spaceship::UnexpectedResponse) from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/api_client.rb:113:in get'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:475:in get_build_deliveries' from /opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/forwardable.rb:238:in get_build_deliveries'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/spaceship/lib/spaceship/connect_api/models/app.rb:368:in get_build_deliveries' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/build_manager.rb:212:in list'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:91:in block (2 levels) in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:167:in run' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/pilot/lib/pilot/commands_generator.rb:19:in start'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in take_off' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/gems/fastlane-2.209.1/bin/fastlane:23:in <top (required)>'
from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/bin/fastlane:25:in load' from /opt/homebrew/Cellar/fastlane/2.209.1/libexec/bin/fastlane:25:in '
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪
This issue will be auto-closed if there is no reply within 1 month.
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
New Issue Checklist
Issue Description
I'm new to fastlane and I try, on a test project, to use pilot to upload a build. Unfortunately, when I tried I ran into this error:
[!] Couldn't find app '[[XXXXXXX]]' on the account of '' on App Store Connect
So, as the app exists on app store connect, I tried just to list the existing builds with
pilot builds
, but it also failed:fastlane pilot builds --api_key_path fastlane/authent.json --app-identifier XXXXXXX
So I tried using username, and it worked...
fastlane pilot builds --username YYYYYY --app-identifier XXXXXXX
And as the authentication works with
match
I think something is going on here...Command executed
fastlane pilot builds --api_key_path fastlane/authent.json --app-identifier XXXXXXX
Complete output when running fastlane, including the stack trace and command used
Environment
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2022-08-25
The text was updated successfully, but these errors were encountered: