warning: The iOS deployment target is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.0
A Pod targets an old iOS version that current Xcode no longer supports.
Exact message you may see
The iOS deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 9.0range of supported deployment target versions iswarning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.5.
Seen on:
iOS CocoaPods
Meaning
Add a post_install hook in the Podfile to raise the deployment target for every pod to your minimum.
Common causes
- Old Pod specs
- Project minimum higher than Pod's
- Xcode dropped old SDK targets
⚡ Quick fix
- Add post_install to set IPHONEOS_DEPLOYMENT_TARGET
- Update the Pod
- Raise your app's deployment target
Detailed fix by platform
Ruby
- swift
post_install do |i| i.pods_project.targets.each { |t| t.build_configurations.each { |c| c.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' } } end
How to diagnose
- Pod — old target?
- Podfile — hook?
- Minimum — decided?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- CDN: trunk URL couldn't be downloaded [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/...
- CocoaPods compatible versions CocoaPods could not find compatible versions for pod
- CocoaPods: ffi / ruby error on Apple silicon LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e')
Most viewed in iOS
- SIGABRT Thread 1: signal SIGABRT (app crashes with "libc++abi: terminating")
- ITMS-91053 ITMS-91053: Missing API declaration — Your app's code references required reason APIs (privacy manifest)
- integrity could not be verified Unable to Install "App": This app cannot be installed because its integrity could not be verified
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Did this fix work for you?
Report a correction or suggest an improvement
Last updated 25 Nov 2026