Removing Versions from CocoaPods Specs Repo

后端 未结 3 2014
情歌与酒
情歌与酒 2021-02-02 16:00

I\'ve just published a Beta version of a Pod in the Specs Repo, using pod trunk push. I would like to know if is there any way of removing this version Spec from the Sp

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-02 16:17

    You can now delete specific versions of a Pod to correct an accidental push.

    pod trunk delete PODNAME VERSION
    

    You can also deprecate an entire Pod and all versions

    pod trunk deprecate PODNAME
    

    Reference: https://github.com/CocoaPods/cocoapods-trunk/blob/master/CHANGELOG.md#100beta1-2015-12-30

    Note that you need to be using pod version 1.0.0.beta.2 or greater. Run pod --version to check. To install the beta, run sudo gem install pod -v 1.0.0.beta.3 (get the latest version from the ChangeLog)

提交回复
热议问题