high · M8 · MASVS-PLATFORM-3 · PTKD-ASC-APPLE-MIN-DEPLOYMENT-TARGET-IOS13
iOS deployment target below iOS 13 (text search)
Apple's Upcoming Requirements page states that iOS and iPadOS apps uploaded to App Store Connect must target iOS 13 or later. An IPHONEOS_DEPLOYMENT_TARGET or Podfile platform below 13 is refused at upload. A dependency or test target below 13 does not block the upload on its own, so the guard reports this as high rather than blocking.
How it is exploited
Not an attack: an older Flutter or React Native template still sets IPHONEOS_DEPLOYMENT_TARGET = 11.0 in project.pbxproj (or `platform :ios, '12.0'` in the Podfile). The archive builds, but App Store Connect refuses the upload because new builds must target iOS 13 or later.
Why it matters
The build never reaches TestFlight or App Review; the release waits until the target is raised and a new build is uploaded.
How to fix it
- Set the iOS Deployment Target to 13.0 or later on the project and on the app target (Xcode > target > General > Minimum Deployments).
- Raise the Podfile platform to the same version, then run `pod install` so every pod builds for it.
- Flutter: also set MinimumOSVersion in ios/Flutter/AppFrameworkInfo.plist. Expo: set expo-build-properties ios.deploymentTarget.
- Archive and upload again; check that no target in the build log still says 11.0 or 12.0.
ios/Podfile
platform :ios, '13.0'
post_install do |installer|
installer.pods_project.targets.each do |t|
t.build_configurations.each { |c| c.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' }
end
endDoes your app have this?
PTKD checks your build or your source project for PTKD-ASC-APPLE-MIN-DEPLOYMENT-TARGET-IOS13 and every other check in this knowledge base.
Scan your appReferences
Related checks (M8)
- JavaScript obfuscation in the build
- Export compliance (ITSAppUsesNonExemptEncryption) not declared
- HealthKit app that also ships an ads SDK
- Hardcoded unlock or promo code
- Purchases SDK configured with an empty or test key
- Purchase screen falls back to made-up prices or 'coming soon' text
- False-urgency copy on a purchase screen
- Hardcoded price on a purchase screen