LoginSignup
1
0

More than 3 years have passed since last update.

[!] Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.の解決方法

Last updated at Posted at 2019-10-03

経緯

久しぶりにpod trunk push を実行すると、タイトルのエラーが発生しました。

[!] Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.

解決方法

1, $ pod trunk register 自分のメールアドレス '自分の名前'
2, メールアドレスに届いたリンクを開く
3, 改めて$ pod truck pushを実行する

余談

余談ですが、CocoaPods 1.5.3だとXcode 11でバリデーションが通りませんでした。

-> SwiftyPickerPopover (6.6.6)
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a ios simulator (valid values: ). Ensure that Xcode -> Window -> Devices has at least one ios simulator listed or otherwise add one.) during validation.
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 1 error.

みたいなエラーが出ます。

sudo gem update cocoapods

で 1.8.0にバージョンアップすると解決されていました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0