Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pod安装出来是Qiniu 7.0.16+AFNetworking 2.6.3 #126

Closed
YasinZhou opened this issue Feb 29, 2016 · 10 comments
Closed

pod安装出来是Qiniu 7.0.16+AFNetworking 2.6.3 #126

YasinZhou opened this issue Feb 29, 2016 · 10 comments

Comments

@YasinZhou
Copy link

不是应该支持AFNetworking 3.0以上吗?
platform :ios, '7.0'
target 'QiNiuDemo' do
pod 'AFNetworking'
pod 'Qiniu'
end

安装成功后显示

ownloading dependencies
Installing AFNetworking 2.6.3 (was 3.0.4)
Installing HappyDNS (0.2.3)
Installing Qiniu 7.0.16 (was 6.3.3.1)
Generating Pods project
Integrating client project
Sending stats

@longbai
Copy link
Contributor

longbai commented Feb 29, 2016

3.0 是 有 专门的分支

@YasinZhou
Copy link
Author

那pod安装的时候我应该怎么做?

@YasinZhou
Copy link
Author

希望贵公司能够自己做网络请求,以免和项目的网络请求框架冲突。只是一个图片上传,没必要添加整个第三方网络请求框架吧

@YasinZhou
Copy link
Author

比如说AFNetworking有一个BUG影响了我的项目,现在AFNetworking更新修复了,更换了方法调用,但是你们的代码没有更新,导致我这边也更新不到修复过的AFNetworking

@longbai
Copy link
Contributor

longbai commented Mar 3, 2016

@SummertimSadness 后面会的, pod 指定 分支为 3.0, 不要用版本
pod "Qiniu", :git => 'https://github.com/qiniu/objc-sdk.git', :branch => 'AFNetworking-3.x'

@YasinZhou
Copy link
Author

所以强烈建议去掉AFNetworking的依赖

@ruofeilyu
Copy link

这种做法太业余了 现在这个问题还没有解决 无语...
[!] Unable to satisfy the following requirements:

  • AFNetworking (~> 3.0) required by Podfile
  • AFNetworking (= 3.1.0) required by Podfile.lock
  • AFNetworking (~> 3.0.0-beta.2) required by Qiniu (7.0.16)

@longbai
Copy link
Contributor

longbai commented Apr 13, 2016

@RuofeiLv 建议使用3.0 的分支

@YasinZhou
Copy link
Author

公司因为你们使用了AF,所以拒绝升级到最新的SDK了,希望尽早解决第三方库的依赖

@longbai
Copy link
Contributor

longbai commented Apr 15, 2016

pod "Qiniu", :git => 'https://github.com/qiniu/objc-sdk.git', :branch => 'AFNetworking-3.x'

我尽快去掉AFNetworking的依赖吧

@longbai longbai closed this as completed Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants