I was going through the SharePoint App model and decided to publish a test app to get a feel of the deployment process. I was directly deploying the app through Visual Studio when suddenly the following error message was prompted: