代码之家  ›  专栏  ›  技术社区  ›  YosiFZ

pod更新依赖关系pod

  •  0
  • YosiFZ  · 技术社区  · 2 年前

    我有一个使用吊舱的项目,该吊舱使用AlamoFire 5.2版本:

    # Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'
    
    target 'MyPodLibExample' do
      # Comment the next line if you don't want to use dynamic frameworks
      use_frameworks!
    end
    
    target 'MyPodLib' do
      # Comment the next line if you don't want to use dynamic frameworks
      use_frameworks!
      
      pod 'Alamofire', '~> 5.2'
    
      target 'MyPodLibTests' do
        # Pods for testing
      end
    
    end
    
    

    现在,在我的项目中,我用以下内容更新Pods:

    pod update MyPodLib --no-repo-update
    

    这是输出:

    Downloading dependencies
    Installing Alamofire 5.7.1 (was 5.4.4)
    Installing MyPodLib 1.15 (was 1.10)
    Generating Pods project
    Integrating client project
    Pod installation complete! There are 13 dependencies from the Podfile and 26 total pods installed.
    

    有关于如何修复它的更新吗?我不想将Alamofire更新到5.7.1

    0 回复  |  直到 2 年前