Cannot initialize a parameter of type 'id _Nullable'

I am generating iOS build of my ARFoundation project. Android build is working fine but when I generate xcode build from unity it shows following error in “{xcode project}/Libraries/TriLib/TriLibStandaloneFileBrowser/StandaloneFileBrowser/Plugins/iOS/StandaloneFileBrowser.mm” while compiling project.

Line

[controller setDelegate:self];

Error

Cannot initialize a parameter of type 'id<UIDocumentPickerDelegate>
_Nullable' with an lvalue of type 'const Class'

I searched this issue on google and unity forums, but didn’t found any help.

Unity = v2019.4.27f1

ARFoundation = v2.1.18

ARKitXRPlugin = v2.1.18

Xcode = v12.5

If you are not using trilib file browser functionality
change

[controller setDelegate:self];

TO

[controller setDelegate:NULL];

Hi!
TriLib 2.1.1 will be available in a few days and will contain a fix for this issue.