No active UnityEngine.XR.ARSubsystems and black screen

I’m trying to create a new project with AR Foundation and ARKit, however every time I try to run this project, it returns me some errors and the screen goes black, does not show the camera.

To create the project, I used all documentation described at AR Foundation > Basic Setup documentation.

Versions:
Unity 2020.2.2f
AR Foundation 4.0.10
ARKit 4.0.10

Configurations:


Erros:

ARKit is a part of iOS.
I’m guessing you’re not running the Unity Editor inside of iOS.
Make a build, and run that on an iOS-device.

I compiled for my iphone but follow with black screen and debug messages continue to be the same

How are you checking the debug messages? (Through XCode?) And what exactly are the logs showing?