`Podfile`需要FBSDKLoginKit(= 4.8.0)

时间:2015-11-12 15:14:12

标签: swift cocoapods

将Xcode 7.1 swift与以下pod一起使用

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

  pod "Bolts", "1.4.0"
  pod "FBSDKCoreKit", "4.8.0"
  pod "FBSDKLoginKit", "4.8.0"
  pod "FBSDKShareKit", "4.8.0"

添加FBSDKCoreKit是使用pod install --verbose给出错误的一个:

Resolving dependencies of `Podfile`
[!] Unable to satisfy the following requirements:

- `FBSDKLoginKit (= 4.8.0)` required by `Podfile`

/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:411:in `handle_resolver_error'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:69:in `rescue in resolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:57:in `resolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:539:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:59:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:537:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:70:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:213:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:136:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:59:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:135:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:105:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command/project.rb:101:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:47:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/pod:44:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'

你知道为什么吗?

更新信息cocoa pods版本:
*本地宝石*

cocoapods(0.39.0)
cocoapods-core(0.39.0)
cocoapods-downloader(0.9.3)
cocoapods-plugins(0.4.2)
cocoapods-search(0.1.0)
cocoapods-stats(0.6.2)
cocoapods-trunk(0.6.4)
cocoapods-try(0.5.1)

感谢

0 个答案:

没有答案