I’m getting this message from iTunes Connect when submitting my IPA file built with cloud build:
Dear Developer,
We identified one or more issues with a recent delivery for your app.
Please correct the following issues, then upload again.
Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
Best regards,
The App Store Team
Yes that usually happens if your app uses the iOS device camera but said key (NSPhotoLibraryUsageDescription) is not defined. All that key does is show the user the message defined within that key when the app needs to use the camera and the user needs to authorize said usage.
To define that key you need to open the XCode project Unity’s build process outputs, then look for the Info.plist file, if I recall correctly you can find it on the left side of the window, along with the other project files (if I’m wrong just google Info.plist). Select it and you’ll be shown a list of key-value pairs. Then you just need to add the aforementioned key to the list and put anything you want as a value, for example: AppName needs to use your camera to do bla and bla.