Fixing ERROR ITMS-90363 when delivering to the App Store

When I was trying to submit the first version of UV Forecast to App Store Connect, I kept getting back “ERROR ITMS-90363: Invalid Info.plist key” errors complaining about the location usage description entries in my Info.plist file.

In my case, the app was a standalone watchOS app, so my project had two Info.plist files: one for the app bundle, and one for the WatchKit extension. I had mistakenly added entries for the location usage privacy strings in both files. Removing them from the app bundle’s info file and leaving them only in the extension’s info file made App Store Connect happy.

I’ve seen other references to this issue around that weren’t specifically about privacy strings. Seems that there are several things that can cause this issue, so this won’t be the fix for everyone.