Cocoapods page redirecting to github

我与影子孤独终老i 提交于 2019-12-18 07:51:46

问题


I made a new pod and pushed it to trunk. It's appearing in the cocoadocs (http://cocoadocs.org/docsets/KeyboardLayoutHelper/0.0.1/) page, but http://cocoapods.org/pods/KeyboardLayoutHelper is redirecting to github.

The pod is working as expected when installed with pod install.

Did I do something wrong or is this something I should submit to issues at cocoapods.org's github page?

Edit: It's been about a week now, still redirecting to my github.

My pod is also appearing differently than all others in the cocoapods.org search:


回答1:


It takes some time to create your CocoaPods page if you just published it. Try waiting a day or so.




回答2:


After waiting 24 hours of my first version, I just tried to release new version i.e. 1.0.1 & It's published within few minutes. :)

For new version i did below-

  • Modified .podspec file with s.version = '1.0.1'

  • pod lib lint

  • echo "3.0" >> .swift-version//optional for my usecase

  • pod trunk register xx@Email.com

  • pod trunk push JKDropDown.podspec

& it's Live here https://cocoapods.org/pods/JKDropDown




回答3:


This happens if documentation of your pod file crashes appledoc or jazzy.Conflict in documentation can lead to redirection. Redeploying will fix issue. Open terminal and hit this command:

curl http://207.254.41.223:4567/redeploy/[YOUR-POD-NAME]/latest


来源:https://stackoverflow.com/questions/38154360/cocoapods-page-redirecting-to-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!