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
The current build includes AVSession, which is not available on macos. The build breaks on mac since the source is shared between iOS and macOS.
To Reproduce
Steps to reproduce the behavior:
on the apps pubspec, depend on the project repo with ref on a6de25f11d07453b8827ba0298cff619cb681e1f
Build for macos
Build will break with a message similar to:
record_darwin/darwin/Classes/RecordConfig.swift:71:25: error: 'AVAudioSession' is unavailable in macOS
let audioCategories: [AVAudioSession.CategoryOptions]
Expected behavior
App to build normally
Additional context
One may add consitional declarations to fix this problem:
Package version
Current main (a6de25f)
Environment
Describe the bug
The current build includes AVSession, which is not available on macos. The build breaks on mac since the source is shared between iOS and macOS.
To Reproduce
Steps to reproduce the behavior:
a6de25f11d07453b8827ba0298cff619cb681e1f
Expected behavior
App to build normally
Additional context
One may add consitional declarations to fix this problem:
The text was updated successfully, but these errors were encountered: