CocoaPods Pod trunk delete不起作用



当我这样做时:

 $ pod --version

0.39.0

但如果我尝试:

$ pod trunk delete 

[!未知命令:delete 您的意思是:注册

用法:

$ pod trunk COMMAND
  Interact with the CocoaPods API (e.g. publishing new specs)

命令:

+ add-owner      Add an owner to a pod
+ info           Returns information about a Pod.
+ me             Display information about your sessions
+ push           Publish a podspec
+ register       Manage sessions
+ remove-owner   Remove an owner from a pod

选项:

--silent         Show nothing
--verbose        Show more debugging information
--no-ansi        Show output without ANSI codes
--help           Show help banner of specified command

delete 不是主干的命令。您的帖子中有一个有效命令的列表。

看起来

CocoaPods pod trunk delete文档指的是(当前未发布的)CocoaPods 1.0测试版中添加的命令。您可以在cocoapods-trunk更改日志中看到已添加此命令。一旦发布,您就可以使用它。同时,您可以安装测试版

[sudo] gem install cocoapods --pre

命令pod trunk适用于您自己上传到 cocoapods 的第三方库。如果要删除第三方库的版本,如ABCManager(v1.0.2),可以键入以下内容:pod trunk delete ABCManager v1.0.2,版本v1.0.2的库将被删除。

最新更新