当前位置:网站首页>. Podspec dependency problem handling
. Podspec dependency problem handling
2022-06-09 00:01:00 【Loneliness under fireworks】
Encounter a situation :
- I use RxSwift, however RxSwift stay github Upper Department , Sometimes the network is bad
- So I put RxSwift Pull me down Giee Warehouse , To facilitate better use
- stay profile Add... When using
pod 'RxSwift', :git=> 'https://gitee.com/tripartite/RxSwift.git', :tag=> '6.5.0'
pod 'RxCocoa', :git=> 'https://gitee.com/tripartite/RxSwift.git', :tag=> '6.5.0'
however pod install The lack of time has encountered a problem , One by one RxSwift No problem , however RxCocoa Always report an error
[!] CocoaPods could not find compatible versions for pod "RxRelay":
In Podfile:
RxCocoa (from `https://gitee.com/tripartite/RxSwift.git`, tag `6.5.0`) was resolved to 6.5.0, which depends on
RxRelay (= 6.5.0)
None of your spec sources contain a spec satisfying the dependency: `RxRelay (= 6.5.0)`.

Problem cause analysis
RXSwift There are multiple under the original file .podspec
Here's the picture , There is a dependency between them , open RxCocoa.podspec, You find RxCocoa Need to rely on RxSwift and RxRelay
s.dependency 'RxSwift', '6.5.0'
s.dependency 'RxRelay', '6.5.0'

resolvent , Add dependency
Add dependency , then pod install , Problem solving
pod 'RxSwift', :git=> 'https://gitee.com/tripartite/RxSwift.git', :tag=> '6.5.0'
pod 'RxRelay', :git=> 'https://gitee.com/tripartite/RxSwift.git', :tag=> '6.5.0'
pod 'RxCocoa', :git=> 'https://gitee.com/tripartite/RxSwift.git', :tag=> '6.5.0'

边栏推荐
- 13001. weight on the moon
- Constructors and Destructor
- NLP-D44-nlp比赛D13-zetero&marginnote3&读论文【被惊艳到】&刷题
- 实体、协议、服务和服务访问点
- Wisealign alignment consumption time description
- [问题已处理]-harbor可以login成功pull成功但是push报错
- Enumerate matching opponents of the problem
- Cloud native technology -- kubedm uses external etcd cluster
- 跳一跳
- Sequential action localization | weakly supervised temporal action localization using fragment contrast learning
猜你喜欢
随机推荐
shell(30) : yum导出依赖包并离线安装
Shell (31): judge whether the input parameter is empty
User 10 must be unlocked for widgets to be available
Rockchip uboot passes parameters to the kernel
Good programming style (habit)
Parameter ‘XXX‘ not found. Available parameters are [arg1, arg0, para
Setting app info中disable按钮
Efficientnetv2 structure explanation (smaller models and faster training)
Thesis reading | eventmix: an efficient augmentation strategy for event based data
Digital IC Design - makefile script (example)
tensorflow. Net examples of keras
Network engineering compulsory course different VLAN communication and NAT configuration of small and medium-sized enterprises
Member points consumption management system based on SSH
Entities, protocols, services, and service access points
Deployment (12): testing disk performance
How long will it take for financial products to be cleared?
构造函数与析构函数
小黑刷题:Z变换
Is it safe to open an account online? What should we do?
Leetcode 349 intersection of two arrays *easy*) problem solving analysis









