AAChartKit-Swift
AAChartKit-Swift copied to clipboard
私有库导入,无法获取最新版本的代码
s.dependency 'AAInfographics'
pod install后,无论是终端日志还是podfile.lock 都是显示为当前最新版本7.3.0
但是实际上我进行固化或者编译的时候,提示报错(老版本代码,新版本已经不存在)。
但是如果我在 私有库的demo工程的podfile文件中添加AAInfographics为pod 'AAInfographics', :git => 'https://github.com/AAChartModel/AAChartKit-Swift.git',发现本地pod文件夹中的代码已经是最新的,但是依然无法对私有库进行固化,并且报错所是一样的。报错信息如下图:
尝试对 AAInfographics 注释并重新添加、删除本地pod 缓存、删除deviceData文件夹、删除.cocoapod文件夹、重启xcode\电脑等等方法,发现依然不行。
另外需要说明的一点是我们的主工程中一直有在用AAInfographics,我们这是第一次在私有组件中引用。
--------------------------------------------------------------------------------
🎉 Congrats
🚀 AAInfographics (9.0.0) successfully published
📅 January 31st, 01:07
🌎 https://cocoapods.org/pods/AAInfographics
👍 Tell your friends!
--------------------------------------------------------------------------------
在 CocoaPods 上, 更新了 AAChartKit-Swift 最新版本为 9.0.0
, 你再试试吧.
参考:
- https://github.com/CocoaPods/Specs/commit/855a777fece5a228c9ffd7823ead22f80cc0029c
相关问题, 参考:
- https://github.com/AAChartModel/AAChartKit/issues/1501
好的,已经固化成功~~~~
非常感谢!