我有2个使用swift实现的框架:A和B取决于A。 有一个适合A的podspec设置。
目前,我正在通过定义来设置B的podspec
spec.dependency 'A', '~> 0.0.1'
B框架的Podfile中还包含一个pod。
pod 'A', '~> 0.0.1'
跑步后
pod spec lint B.podspec --verbose
显示以下错误:
None of your spec sources contain a spec satisfying the dependency: `A (~> 0.0.1)`.
You have either:
- out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
- mistyped the name or version.
我尝试了任何建议,没有任何改变。
如何解决此问题?