Skip to content

2.2.0: Method not found: void AVFoundation.AVCaptureConnection.set_VideoRotationAngle #153

@deejcoder

Description

@deejcoder

This is probably more to inform.

We get this error on .NET SDKs 9.0.202. This issue may be resolved in 9.0.203 with a workload update for iOS which should update the native bindings.

Unhandled Exception:
System.MissingMethodException: Method not found: void AVFoundation.AVCaptureConnection.set_VideoRotationAngle(System.Runtime.InteropServices.NFloat)
   at BarcodeScanning.BarcodeView.__Registrar_Callbacks__.callback_2_BarcodeScanning_BarcodeView_LayoutSubviews(IntPtr pobj, IntPtr sel, IntPtr* exception_gchandle)

Read more: dotnet/macios#22242

However, this means that people using < 9.0.203 will experience this runtime native crash.
I have not verified if this does work on 9.0.203 due to local environment restrictions.

It works fine on 2.1.8 pre this commit: 8a7ce89

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