Unable to verify App

I‘ve being trying to continue developing my own app for the last 4 weeks and I’ve not being able to do so due to this persistent error message whenever I try to deploy to my own device “Unable to verify app. Internet connection is required to verify trust.” I’ve searched all around for a way to fix this issue but no body seems to be sure why this happens nor how to fix it. It started happening right after I‘ve upgraded my phone from a 14 to a 15, and ever since, the 15 simply doesn’t allow me to deploy on it… I also have a SE Gen 2 running iOS 15 and it seems to work just fine. Anyone happens to know whats going on? Now I also have to worry if the iPhone is going to let me continue working or not whenever I upgrade it?

Unable to verify App
 
 
Q