如何查看Alamofire库版本?

时间:2021-09-21 20:30:46

I implemented Alamofire using cocoapod.I am using Xcode7.3.1. My podfile is like the following way

我使用cocoapod实现了Alamofire。我正在使用Xcode7.3.1。我的podfile类似于以下方式

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'ALamoWeather' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  # Pods for ALamoWeather
pod 'Alamofire'
end

How to check which Alamofire library version is used? Please help me.

如何查看使用哪个Alamofire库版本?请帮帮我。

2 个解决方案

#1


9  

Open Podfile.lock in textedit. You will find the version of Alamofire and other used third parties' version.

在textedit中打开Podfile.lock。你会发现Alamofire和其他第三方版本的版本。

Snapshot of one of my pod file.lock:-

我的一个pod file.lock的快照: -

PODS:

PODS:

  - AFNetworking (2.6.3):
    - AFNetworking/NSURLConnection (= 2.6.3)
    - AFNetworking/NSURLSession (= 2.6.3)
    - AFNetworking/Reachability (= 2.6.3)
    - AFNetworking/Security (= 2.6.3)
    - AFNetworking/Serialization (= 2.6.3)
    - AFNetworking/UIKit (= 2.6.3)
  - AFNetworking/NSURLConnection (2.6.3):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/NSURLSession (2.6.3):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/Reachability (2.6.3)
  - AFNetworking/Security (2.6.3)

SPEC CHECKSUMS:
  AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
 COCOAPODS: 0.38.2

#2


1  

Simply open your project, then select the pod and you will get to see the installed pod version.

只需打开您的项目,然后选择pod,您就可以看到已安装的pod版本。

如何查看Alamofire库版本?

#1


9  

Open Podfile.lock in textedit. You will find the version of Alamofire and other used third parties' version.

在textedit中打开Podfile.lock。你会发现Alamofire和其他第三方版本的版本。

Snapshot of one of my pod file.lock:-

我的一个pod file.lock的快照: -

PODS:

PODS:

  - AFNetworking (2.6.3):
    - AFNetworking/NSURLConnection (= 2.6.3)
    - AFNetworking/NSURLSession (= 2.6.3)
    - AFNetworking/Reachability (= 2.6.3)
    - AFNetworking/Security (= 2.6.3)
    - AFNetworking/Serialization (= 2.6.3)
    - AFNetworking/UIKit (= 2.6.3)
  - AFNetworking/NSURLConnection (2.6.3):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/NSURLSession (2.6.3):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/Reachability (2.6.3)
  - AFNetworking/Security (2.6.3)

SPEC CHECKSUMS:
  AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
 COCOAPODS: 0.38.2

#2


1  

Simply open your project, then select the pod and you will get to see the installed pod version.

只需打开您的项目,然后选择pod,您就可以看到已安装的pod版本。

如何查看Alamofire库版本?