You (cm@le.cn) are not allowed to push new versions for this pod. The owners of this pod are anl@hpp.cn

参考:

https://note.leodev.me/2016/04/05/CocoaPods-API-Elaborate-pod-trunk/

pod trunk push的时候报错:

[!] You are not allowed to push new versions for this pod.

或者
You (cm@le.cn) are not allowed to push new versions for this pod. The owners of this pod are anl@hpp.cn

原因:
而是我更换了邮箱地址,导致 CocoaPods 认为我是另一名用户,进而中断了我的更新请求。

 我的详细命令如下:这里的POD REP NAME是你的pod 仓库名,比如我的是LBSDK

pod trunk register anl@hpp.cn lebo   #老的邮件名   用户名  这里执行以后,一定要先登录邮箱点击no-reply邮件的链接,相当于人工验证,点击一下就可以了

pod trunk add-owner LBLelinkKit cm@le.cn  #ower中添加新的用户cm@le.cn

pod trunk register cm@le.cn   #注册新用户cm@le.cn

然后再执行pod trunk push 就可以了

另外;如果出现

LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

可能是网络不好,在确保能够ping github.com成功的前提下,,优化下网络,或者多试试几次

其它参考:

cocoapods执行pod trunk push 报错Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session

[Cocoapods]项目添加Cocoapods支持遇到的坑 - 简书 (jianshu.com)

原文地址:https://www.cnblogs.com/zndxall/p/14822218.html