搜尋

首頁  >  問答  >  主體

ios - 想要支持IPv6和AF3.0 ,podfile怎么写

七牛7.0.18才支持IPv6,pod "Qiniu", :git => 'https://github.com/qiniu/objc-sdk.git', :branch => 'AFNetworking-3.x' 这种写法只能是7.0.16,应该怎么写,求大神

PHP中文网PHP中文网2888 天前362

全部回覆(1)我來回復

  • PHP中文网

    PHP中文网2017-04-18 09:07:25

    現在可以了。我試了一下。

    
    cat Podfile
    pod "Qiniu", :git => 'https://github.com/qiniu/objc-sdk.git', :branch => 'AFNetworking-3.x'
    
    Pod install
    Updating local specs repositories
    
    CocoaPods 1.0.0 is available.
    To update use: `gem install cocoapods`
    Until we reach version 1.0 the features of CocoaPods can and will change.
    We strongly recommend that you use the latest version at all times.
    
    For more information see http://blog.cocoapods.org
    and the CHANGELOG for this version http://git.io/BaH8pQ.
    
    Analyzing dependencies
    Pre-downloading: `Qiniu` from `https://github.com/qiniu/objc-sdk.git`, branch `AFNetworking-3.x`
    Downloading dependencies
    Installing AFNetworking 3.1.0 (was 2.6.3)
    Using HappyDNS (0.3.5)
    Installing Qiniu 7.0.20 (was 7.0.20)
    Generating Pods project
    Integrating client project
    Sending stats
    Pod installation complete! There is 1 dependency from the Podfile and 3 total pods installed.

    回覆
    0
  • 取消回覆