The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0 iOS Origin: On your device OSI layer 7 · Application Last updated 25 Nov 2026

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

  1. Add post_install to set IPHONEOS_DEPLOYMENT_TARGET
  2. Update the Pod
  3. Raise your app's deployment target

Detailed fix by platform

Ruby

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

  1. Pod — old target?
  2. Podfile — hook?
  3. 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:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

CDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL couldn…CocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatible …CocoaPods: ffi / ruby error on Apple silicon — LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e') (iOS)CocoaPods: ffi / ruby…CocoaPods: pod install failed / not installed — Flutter iOS: Error running pod install — CocoaPods not installed or out of date / [!] CocoaPods could not find compatible versions for pod (Flutter / Dart)CocoaPods: pod instal…duplicate symbol '_OBJC_CLASS_$_X' in — ld: 1 duplicate symbol for architecture arm64 / duplicate symbol '_OBJC_CLASS_$_Reachability' in: (iOS)duplicate symbol '_OB…is only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available in …library not found for -lPods — ld: library not found for -lPods-AppName / framework not found Pods_App (iOS)library not found for…Module 'x' not found (iOS build) — Xcode: Module 'firebase_core' not found — flutter build ios fails after adding a plugin (Flutter / Dart)Module 'x' not found …The iOS d…

Explore the map of this error Full error map →

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