ios 升级 weex sdk 版本

文章目录

    想将 ios 端 WeexSDK 的版本升级到最新的 0.13.0

    $ pod update
    
    输出为
    
    CocoaPods 1.3.0.beta.2 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.3.0.beta.2
    
    Analyzing dependencies
    Fetching podspec for `Weexplugin` from `./Weexplugin/`
    Downloading dependencies
    Using ATSDK (0.0.1)
    Using SDWebImage (3.7.5)
    Using SocketRocket (0.4.2)
    Using WXDevtool (0.9.5)
    Installing WeexSDK 0.13.0 (was 0.12.0)
    

    Pod 配置文件的结构

    $ cat Podfile
    source 'git@github.com/CocoaPods/Specs.git'
    platform :ios, '7.0'
    #inhibit_all_warnings!
    
    def common
    pod 'WeexSDK'
    pod 'Weexplugin', :path=>'./Weexplugin/'
        pod 'WXDevtool'
        pod 'SDWebImage', '3.7.5'
        pod 'SocketRocket', '0.4.2'
        pod 'ATSDK', '0.0.1'
    end
    
    target 'WeexDemo' do
        common
    end
    
    target 'WeexUITestDemo' do
        common
    end
    

    会看到,实际上并没有指定 WeexSDK 的版本,默认会选择最新的版本。

    关于作者 🌱

    我是来自山东烟台的一名开发者,有感兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊,或者关注我的个人公众号“大象工具”, 查看更多联系方式