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

    1. Set the iOS Deployment Target to 13.0 or later on the project and on the app target (Xcode > target > General > Minimum Deployments).
    2. Raise the Podfile platform to the same version, then run `pod install` so every pod builds for it.
    3. Flutter: also set MinimumOSVersion in ios/Flutter/AppFrameworkInfo.plist. Expo: set expo-build-properties ios.deploymentTarget.
    4. 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
    end

    Does 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 app

    References

    Related checks (M8)