Whenever I install a new pod project, and for example I install firebase libraries I always get installed libraries to be targeted for projects 8.0 or and I start changing them manually to be 9.0 or 14.0 because of the warning that I’m Getting.
Here it is the Podfile content:
platform :ios, '14.0'
target 'TestProject' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for TestProject
pod 'SDWebImageSwiftUI'
pod 'lottie-ios'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
end
How it is possible to update target iOS all at once, so I won’t be updating all the libraries one by one?
2
Answers
Add this to your
Podfile
and thenpod install
.This will update all the Pod targets at once to your desired version.
Depending on your Podfile, Warren’s answer might not be enough to set all targets to the new deployment target. I recommend using this post-install handler:
This addition becomes important when you use options like
install! 'cocoapods', :generate_multiple_pod_projects => true