解决pod时报错“Authentication token is invalid or unverified. Either verify it with the email that…”问题

执行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 '你的邮箱' 'XXXXXX' --description='XXXX'  重新注册一下账号。
2. 在自己邮箱里面找到并打开验证链接。
3. 返回终端重新执行命令:pod trunk push XXXXX.podspec --allow-warnings

猜你喜欢

转载自blog.csdn.net/watson2017/article/details/118998006