Skip to content

[camera_avfoundation] AVCaptureVideoOrientation deprecated #170438

Closed
flutter/packages
#13247

Description

@vashworth

AVCaptureVideoOrientation is deprecated, which is causing test failures with Xcode 26

Headers/Public/camera_avfoundation/FLTCaptureConnection.h:17:22: warning: 'AVCaptureVideoOrientation' is deprecated: first deprecated in iOS 17.0 - Use AVCaptureDeviceRotationCoordinator instead

https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20macos_repo_checks/8789/infra

Activity

  1. added
    a: pluginsSupport for writing, building, and running plugin packages
    fyi-ecosystemFor the attention of Ecosystem team
    team-iosOwned by iOS platform team
    platform-iosiOS applications specifically
    on Jun 11, 2025
  2. hellohuanlin commented on Jun 12, 2025

    @hellohuanlin
    Contributor
  3. jmagman commented on Jun 13, 2025

    @jmagman
    Member

    Wondering why it just started to show up

    Because in CI we're only checking for deprecations on iOS 14 flutter/packages#7542. @vashworth is testing against all iOS 26 deprecations, so we'll see all the 15 -> 26 deprecations in these bugs.

  4. added
    P2Important issues not at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Jun 20, 2025
  5. github-actions commented on Oct 28, 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 Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesp: cameraThe camera pluginplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions