How do I delete my public cocoa pods

前端 未结 2 424
日久生厌
日久生厌 2021-01-05 20:07

I have created a couple test cocoa pods that are public I need to delete these not just from my computer but from the public pod list? Is there a way to remove the trunk?

相关标签:
2条回答
  • 2021-01-05 20:32

    To delete these specs entirely you'll need to submit a pull request to the specs repo removing the affected files. If you want to also remove them from the trunk database, you'll have to submit an issue on the trunk repo explaining the situation.

    0 讨论(0)
  • 2021-01-05 20:38

    In order to complete the @Keith Smiley's response, please find some other important details below:

    Can I submit a pull request if...

    Q: I want to update my Pod to a new version?

    A: No, this is no longer the appropriate way to update your Pod. Pod updates must be uploaded using pod trunk push [NAME.podspec].

    Q: I made a mistake in a Podspec I've just pushed?

    A: No. The quickest way to get this fixed is to edit your .podspec, bump the version number and pod trunk push [NAME.podspec].

    Q: I've deleted this Pod?

    A: People are relying on your library, you should apply the deprecated flag via a pull request to all versions of your library. Removal of Podspecs should be avoided as much as possible. This is to ensure systems built around the CocoaPods ecosystem are kept in sync.

    Q: No one needs that pod, or is going to ever download it... why can't I just delete it?

    A: Our policy is to only perma-delete pods that really need it, such as Pods that may contain passwords, malicious/harmful code, etc. Deprecating a pod effectively removes it from being found and will do the trick in 99% percent of situations.

    Q: But what if..

    A: Chances are, no.

    (Sources of this answer: link 1, link 2)

    0 讨论(0)
提交回复
热议问题