Project deployment target and Cocoapod target version

Let me suppose that I have an Xcode project that uses the following Cocoapods.

Code Block
pod 'Firebase/Auth'
pod 'GoogleSignIn'


And let me also suppose that the minimum deployment target for my Xcode project is 11.0. In this case, do I set the Cocoapod platform to 11.0 like

Code Block
platform :ios, '11.0'
target 'MyProject' do
use_frameworks!
pod 'Firebase/Auth'
pod 'GoogleSignIn'
end


Or do I use the latest versions of Cocoapods like

Code Block
platform :ios, '14.2'
target 'MyProject' do
use_frameworks!
pod 'Firebase/Auth'
pod 'GoogleSignIn'
end


?

Thanks.
I guess it should be

Code Block
platform :ios, '11.0'
target 'MyProject' do
use_frameworks!
pod 'Firebase/Auth'
pod 'GoogleSignIn'
end


according to this stack overflow topic.
Project deployment target and Cocoapod target version
 
 
Q