Skip to content

[Xcode 27] flutter/packages "xcode analyze deprecation" step fails #194019

Closed

Description

@vashworth

"xcode analyze deprecation" fails in CI with Xcode 27

https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac_arm64%20ios_platform_tests_shard_1%20master/6/overview

/Volumes/Work/s/w/ir/x/w/packages/packages/camera/camera_avfoundation/darwin/camera_avfoundation/Package.swift: error: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 14.0, but the range of supported deployment target versions is 15.0 to 27.0.x. (in target 'camera_avfoundation' from project 'camera_avfoundation')

IPHONEOS_DEPLOYMENT_TARGET in all iOS example apps need to be updated to 15.0

https://github.com/search?q=repo%3Aflutter%2Fpackages+IPHONEOS_DEPLOYMENT_TARGET&type=code

Activity

  1. added
    platform-iosiOS applications specifically
    packageflutter/packages repository. See also p: labels.
    P1High-priority issues at the top of the work list
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    P2Important issues not at the top of the work list
    and removed
    platform-iosiOS applications specifically
    packageflutter/packages repository. See also p: labels.
    P1High-priority issues at the top of the work list
    team-iosOwned by iOS platform team
    on Oct 8, 2026
  2. changed the title [-][Xcode 27] flutter/package "xcode analyze deprecation" step fails[/-] [+][Xcode 27] flutter/packages "xcode analyze deprecation" step fails[/+] on Oct 8, 2026
  3. okorohelijah commented on Oct 13, 2026

    @okorohelijah
    Contributor

    The 14.0 isn't coming from the example projects — it's the --ios-min-version=14.0 flag on the xcode analyze deprecation task in .ci/targets/ios_platform_tests.yaml, passed as IPHONEOS_DEPLOYMENT_TARGET=14.0 on the xcodebuild command line, which overrides every target. build examples and plain xcode analyze pass because flutter build ios migrates the example projects to 15.0 before building.

    Fix in flutter/packages#13223
    (flag → 15.0 plus the migrated example files). Verified on the same staging bot with Xcode 27: https://ci.chromium.org/b/8668096608488894433
    . Shards 3–5 fail the same step, so it should cover them too.

    Shard 2 fails earlier in xcode analyze on image_picker_ios's kUTTypeGIF fallback — flutter/packages#13224
    . macos_repo_checks fails Swift format on Xcode 27 — filed #194268.

  4. okorohelijah commented on Oct 20, 2026

    @okorohelijah
    Contributor
  5. github-actions commented on Nov 3, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions