美文网首页
CocoaPods 升级遇到的问题

CocoaPods 升级遇到的问题

作者: wodeph | 来源:发表于2017-10-20 11:46 被阅读0次

    Last login: Fri Oct 20 08:54:11 on console

    mac-3:~ ybd$ cd /Users/ybd/Downloads/Weibo-master

    mac-3:Weibo-master ybd$ pod install

    Analyzing dependencies

    [!] Unable to satisfy the following requirements:

    - `SDWebImage (~> 3.8)` required by `Podfile`

    - `SDWebImage (= 3.8.2)` required by `Podfile.lock`

    None of your spec sources contain a spec satisfying the dependencies: `SDWebImage (~> 3.8), SDWebImage (= 3.8.2)`.

    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.

    * not added the source repo that hosts the Podspec to your Podfile.

    Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

    [!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

    [!] Automatically assigning platform ios with version 8.0 on target WeiBo because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

    mac-3:Weibo-master ybd$ pod repo update

    Updating spec repo `master`

    $ /usr/local/bin/git -C /Users/ybd/.cocoapods/repos/master fetch origin

    --progress

    remote: Counting objects: 871162, done.

    remote: Compressing objects: 100% (753/753), done.

    remote: Total 871162 (delta 46440), reused 46648 (delta 46257), pack-reused 824117

    Receiving objects: 100% (871162/871162), 141.78 MiB | 942.00 KiB/s, done.

    Resolving deltas: 100% (548620/548620), completed with 2895 local objects.

    From https://github.com/CocoaPods/Specs

    3c4dc609808..85be4cbd99f  master    -> origin/master

    * [new branch]              predates_sharding_branch -> origin/predates_sharding_branch

    * [new tag]                20161019  -> 20161019

    * [new tag]                v0.32.1    -> v0.32.1

    $ /usr/local/bin/git -C /Users/ybd/.cocoapods/repos/master rev-parse

    --abbrev-ref HEAD

    master

    $ /usr/local/bin/git -C /Users/ybd/.cocoapods/repos/master reset --hard

    origin/master

    Checking out files: 100% (286540/286540), done.

    HEAD is now at 85be4cbd99f [Add] LazySeq 0.4.1

    warning: inexact rename detection was skipped due to too many files.

    CocoaPods 1.4.0.beta.1 is available.

    To update use: `sudo 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.4.0.beta.1

    mac-3:Weibo-master ybd$ pod install

    Analyzing dependencies

    Downloading dependencies

    Installing AFNetworking (3.1.0)

    Installing FMDB (2.6.2)

    Installing SDWebImage (3.8.2)

    Installing SVProgressHUD (2.0.3)

    Installing YYModel (1.0.4)

    Installing pop (1.0.9)

    Generating Pods project

    Integrating client project

    [!] Please close any current Xcode sessions and use `WeiBo.xcworkspace` for this project from now on.

    Sending stats

    注:不喜勿喷!!!

    相关文章

      网友评论

          本文标题:CocoaPods 升级遇到的问题

          本文链接:https://www.haomeiwen.com/subject/qmamuxtx.html