我使用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
如何查看使用哪个Alamofire库版本? 请帮帮我。
答案 0 :(得分:12)
在textedit中打开Podfile.lock
。您将找到Alamofire
和其他使用过的第三方版本的版本。
我的一个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
答案 1 :(得分:2)