I am a Swift learner and I need to test my apps on my iPhone 11. I have the 16.0.2 version of iOS. So, I click on the "run" button on Xcode and build it. But I saw an error on Xcode which says:
"Could not launch “ProjectName”" and "The operation couldn’t be completed. Unable to launch com.name.ProjectName because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user."
And I saw an error on my phone says "Untrusted Developer".
I know I can allow using the app in settings but I don't want to do this every time when I want to test my app. Is there anything I can do to avoid these warnings every time I run the application?