Appium inspector is keep on loading

Hi guys, I am launching the appium inspector with desired capabilities it was working fine but currently it keeps on loading when I start the session and getting error as : Gathering initial app source

Appium version 1.22.3
Appium inspector - 2022.2.1
Java version 11.0.17
OS- Mac m1 machine
Xcode version 13.4.1