Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload build to Test Flight; [!] undefined method `refresh!' #21974

Open
4 tasks done
g1umov opened this issue Apr 16, 2024 · 3 comments
Open
4 tasks done

Can't upload build to Test Flight; [!] undefined method `refresh!' #21974

g1umov opened this issue Apr 16, 2024 · 3 comments

Comments

@g1umov
Copy link

g1umov commented Apr 16, 2024

New Issue Checklist

Issue Description

I see the following error message: /opt/homebrew/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.220.0/spaceship/lib/spaceship/connect_api/api_client.rb:189:in rescue in with_asc_retry': [!] undefined method refresh!' for nil (NoMethodError) @token.refresh!
when I try to upload a build to Test Flight. And fastlane logins to App Store Connect successfully.
I'm using the two-factor authentication method.

Command executed

lane :upload do |options| upload_to_testflight( ipa: ENV['IPA_PATH'], skip_submission: true, skip_waiting_for_build_processing: true, app_identifier: ENV['BUNDLE_IDENTIFIER'] ) end

@jkester1986
Copy link

jkester1986 commented Apr 16, 2024

we are getting the same

@st3fus
Copy link

st3fus commented Apr 23, 2024

Same here

@MarkK112
Copy link

MarkK112 commented May 8, 2024

The error message you’re encountering suggests that the @token.refresh! method is undefined. To resolve this, ensure that your authentication token is valid and properly configured. You might need to reauthenticate or check your credentials.
Publix Passport Additionally, consider updating Fastlane to the latest version to address any potential issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants