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.
结论
升级某一个库 关联库也会升级