Xcode error build iOS app

Hi, I am trying to compile an Unity IOs project in Xcode, and I get the following errors in NativeGallery.mm.

Incompatible pointer types assigning to 'id<UINavigationControllerDelegate,UIImagePickerControllerDelegate>_Nullable' from 'Class'

Incompatible pointer types asssigning to 'id<UIPopoverControllerDelegate>_Nullable'from'Class'

The project is compiled in Unity2019.3.0f6, and the tests in Xcode are in the latest current version.
The minimum ios version of the project is ios11.

Are you building to a physical device or trying to use the emulator?

Hi, did you finally solve the problem? I encountered the exact same problem with NativeGallery.mm