Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Mac book m1's camera can not be show when using CameraView
Expected Behavior
Mac book m1's camera should be show when using CameraView
Steps To Reproduce
- download the repo source
- open with vscode
- set the debug config to mac catalyst
- debug it
Link to public reproduction project repository
https://github.com/jingliancui/MAUICTCameraViewIssue
Environment
- CommunityToolkit.Maui.Camera:6.0.1
- OS:Mac M1:Tohoe 26.4.1
- .NET MAUI:10.0.60
Anything else?
error message:
Exception has occurred: CLR/CommunityToolkit.Maui.Core.CameraException
An unhandled exception of type 'CommunityToolkit.Maui.Core.CameraException' occurred in Microsoft.MacCatalyst.dll: 'No camera available on device'
at UIKit.UIApplication.xamarin_UIApplicationMain(Int32 argc, IntPtr argv, IntPtr principalClassName, IntPtr delegateClassName, IntPtr* gchandle)
at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName)
at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass)
at XXXClient.Program.Main(String[] args) in
other info:
The camera can run fine when the app run in iOS device
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Mac book m1's camera can not be show when using CameraView
Expected Behavior
Mac book m1's camera should be show when using CameraView
Steps To Reproduce
Link to public reproduction project repository
https://github.com/jingliancui/MAUICTCameraViewIssue
Environment
Anything else?
error message:
other info:
The camera can run fine when the app run in iOS device