Skip to content

camera_avfoundation has swift warning endability of function types in instance method 'setExposureTargetBias(_:completionHandler:)' does not match requirement in protocol 'CaptureDevice' #194599

Closed
flutter/packages
#13298

Description

@jmagman
/Volumes/Work/s/w/ir/x/w/packages/packages/camera/camera_avfoundation/darwin/camera_avfoundation/Sources/camera_avfoundation/CaptureDevice.swift:90:1: error: sendability of function types in instance method 'setExposureTargetBias(_:completionHandler:)' does not match requirement in protocol 'CaptureDevice'; this is an error in the Swift 6 language mode
extension AVCaptureDevice: CaptureDevice {
^
/Volumes/Work/s/w/ir/x/w/packages/packages/camera/camera_avfoundation/darwin/camera_avfoundation/Sources/camera_avfoundation/CaptureDevice.swift:47:8: note: expected sendability to match requirement here
  func setExposureTargetBias(

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8667765278421871457/+/u/Run_package_tests/native_test/stdout

Note this isn't currently being caught in CI due to #194517

Activity

  1. self-assigned this
    on Oct 16, 2026
  2. github-actions commented on Oct 31, 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.

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

Metadata

Metadata

Assignees

Labels

p: cameraThe camera pluginplatform-iosiOS applications specificallyteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions