我创建了一个新的pod,并通过发出命令将其推送到cocoapods,
pod trunk push AIQKit.podspec
过了一会儿,我去了cocoapods.org,可以通过搜索AIQKit找到它。但是当我尝试访问时 https://cocoapods.org/pods/AIQKit 即使我在cocoapods中更新了4个版本,我也总是被重定向到github页面。
报告
1。你做了什么?
Then release our library by issuing command below,
$> git add -A && git commit -m "Release 0.9.4"
$> git tag '0.9.4'
$> git push --tags
$> pod lib lint AIQKit.podspec
$> pod trunk push AIQKit.podspec
then I got output,
Congrats
AIQKit (0.9.4) successfully published
February 5th, 09:48
https://cocoapods.org/pods/AIQKit
Tell your friends!
2。您期望发生什么??
当我访问AIQKit页面时, https://cocoapods.org/pods/AIQKit
我应该看到它的页面。
第3。发生了什么?
但现实是我被重定向到github页面 https://github.com/iqnect-org/aiqkit-ios
我可以从cocoapods页面搜索中找到AIQKit,我可以通过在Podfile中添加AIQKit来使用AIQKit
4。 CocoaPods环境
Stack
CocoaPods : 1.4.0
Ruby : ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
RubyGems : 2.5.2
Host : Mac OS X 10.13.3 (17D102)
Xcode : 9.2 (9C40b)
Git : git version 2.15.1
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 713cb9c62547df8651141d41b306b6c42c182fdd
Installation Source
Executable Path: /usr/local/bin/pod
Plugins
cocoapods-deintegrate : 1.0.2
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.3.0
cocoapods-try : 1.1.0
Project that demonstrates the issue
https://github.com/iqnect-org/aiqkit-ios
答案 0 :(得分:0)
最后解决问题只是纠正所有编译器错误。因此,在发布
之前,请确保示例项目中没有任何编译器错误