You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
I believe @RobertOdrowaz will be migrating FLTDefaultCaptureConnection to Swift as part of #119109. Might want to avoid touching this area of the code until that's complete?
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.
Activity
hellohuanlin commentedon Jun 12, 2025
it was deprecated in iOS 18. Wondering why it just started to show up
https://developer.apple.com/documentation/avfoundation/avcapturevideoorientation?language=objc
jmagman commentedon Jun 13, 2025
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.
jmagman commentedon Jun 26, 2025
I think this will also involve migrating to
AVCaptureDevice.RotationCoordinator.https://developer.apple.com/documentation/avfoundation/avcaptureconnection/videorotationangle
I believe @RobertOdrowaz will be migrating
FLTDefaultCaptureConnectionto Swift as part of #119109. Might want to avoid touching this area of the code until that's complete?https://github.com/flutter/packages/blob/0fd28511bca74ac4db06521731616fb9b4fb7062/packages/camera/camera_avfoundation/ios/camera_avfoundation/Sources/camera_avfoundation_objc/FLTCaptureConnection.m#L37-L43
[camera_avfoundation] Replace the deprecated 'videoOrientation' with …
github-actions commentedon Oct 28, 2026
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 -vand a minimal reproduction of the issue.