pod install --no-repo-update 失败

本文记录了在使用CocoaPods管理iOS项目依赖时遇到的版本冲突问题,特别是针对`MJRefresh`版本不一致导致的问题。通过更新指定库的方法成功解决了依赖冲突,并指出在更新过程中关联库也可能随之更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

erro log

bogon:XXB(xcode_8release) (Before Import) zhongqihulian$ pod install --no-repo-update

Analyzing dependencies

Pre-downloading: `EaseUI` from `https://github.com/easemob/easeui-ios-hyphenate-cocoapods.git`

[!] Unable to satisfy the following requirements:

 

- `MJRefresh` required by `Podfile`

- `MJRefresh (= 3.0.8)` required by `Podfile.lock`

- `MJRefresh (~> 3.1.0)` required by `EaseUI (3.2.1)`

 

Specs satisfying the `MJRefresh, MJRefresh (= 3.0.8), MJRefresh (~> 3.1.0)` dependency were found, but they required a higher minimum deployment target.

 搜索:

cocoapod 升级某个库到最新  https://segmentfault.com/q/1010000003068213

方法:

$ pod update MJRefresh

结果

Updating local specs repositories

 

CocoaPods 1.2.0.beta.1 is available.

To update use: `gem install cocoapods --pre`

[!] This is a test version we'd love you to try.

 

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.2.0.beta.1

 

Analyzing dependencies

Pre-downloading: `EaseUI` from `https://github.com/easemob/easeui-ios-hyphenate-cocoapods.git`

Downloading dependencies

Using AFDownloadRequestOperation (2.0.1)

Using AFNetworking (2.6.3)

Using BlocksKit (2.2.5)

Using DACircularProgress (2.3.1)

Installing EaseUI (3.2.1)

Using FMDB (2.6.2)

Using GCDObjC (0.2.0)

Using HMSegmentedControl (1.5.2)

Using HyphenateLite_CN (3.2.0)

Using IQKeyboardManager (3.3.7)

Using JSONModel (1.2.0)

Using M80AttributedLabel (1.3.3)

Using MBProgressHUD (0.9.2)

Installing MJRefresh 3.1.12 (was 3.0.8)

Installing MWPhotoBrowser (2.1.2)

Using Masonry (1.0.0)

Using MyLayout (1.1.6)

Using QQ_XGPush (2.4.9)

Using RKNotificationHub (2.0.1)

Using RMDateSelectionViewController (1.4.3)

Using ReactiveCocoa (2.5)

Using SDCycleScrollView (1.64)

Using SDWebImage (3.7.6)

Using TMCache (2.1.0)

Using Typeset (3.3.0)

Using XAspect (1.0.5)

Using YTKNetwork (1.1.0)

Using iOS-Categories (1.0.2)

Using pop (1.0.9)

Using tingyunApp (2.4.0)

Generating Pods project

Integrating client project

Pod installation complete! There are 27 dependencies from the Podfile and 30 total pods installed.

结论

升级某一个库  关联库也会升级

转载于:https://my.oschina.net/u/2601834/blog/794264

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值