Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check Alamofire library version?

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

# 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.

like image 905
IKKA Avatar asked Oct 18 '16 06:10

IKKA


People also ask

How do I update Alamofire?

Run pod init and it'll generate a Podfile that you can fill it. Then copy your pods back in from the original file. Then run pod update to get the new version of Alamofire added to your project.


2 Answers

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

Snapshot of one of my pod file.lock:-

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
like image 172
pkc456 Avatar answered Nov 04 '22 10:11

pkc456


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

enter image description here

like image 8
Soumen Avatar answered Nov 04 '22 08:11

Soumen