Skip to content

[record_macos] fails to compile with Xcode 27 #615

Description

@thibaultzanini

Package version

  • record: 7.1.1
  • record_macos: 2.1.1

Environment

  • OS: macOS 27 beta 3
  • Xcode: 27 beta 3
  • Flutter: 3.44.6

Describe the bug

Flutter macOS apps using the record package fail to compile in Xcode 27.

Xcode reports that auAudioUnit is only available on macOS 13 or newer:

record_macos/Sources/record_macos/delegate/RecorderStreamDelegate.swift:36:30:
error: 'auAudioUnit' is only available in macOS 13.0 or newer

try engine.inputNode.auAudioUnit.setDeviceID(inputDeviceId)

To Reproduce

Steps to reproduce the behavior:

  1. Open or create a Flutter macOS project that uses the record package.
  2. Build or run the project on macOS using Xcode 27 beta 3.

Expected behavior

Projects using record_macos should compile with Xcode 27.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions