I was creating a SharePoint add-in with Visual Studio and testing with SharePoint Online, but I needed to test it on my SharePoint 2013 on-premise farm.

After uploading the .app file to my on-premise App Catalog, SharePoint complained about the validity of the App Package.

Valid app package is No in SharePoint 2013 on-premise

After some fiddling and researching it turns out that all I needed to do was change the SharePointMinVersion from to in AppManifest.xml.

After repackaging and uploading to my App Catalog, SharePoint was now showing my app the love it deserves. Valid App Package was now a Yes.

SharePoint valid app package is yes