I have been able to solve this. The cause of the issue was that I was running my app on a device with IOS 15.5, but my Xcode SDK has not been updated to the latest version that has the IOS 15.5 SDK. All I did was update my XCODE, then I reinstall my app and it works perfectly.
Thank you, guys.