You received an app rejection from Apple on Guideline 5.1.1 and more specifically related to your app requesting access to the user's camera. This article outlines why this usually happens and how you can solve it.
You received the following app rejection error from Apple:
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
We noticed that your app requests the user’s consent to access their camera but does not clarify the use of the camera in the applicable purpose string.
Please revise the relevant purpose string in your app’s Info.plist file to specify why the app is requesting access to the user's camera. You can modify your app's Info.plist file using the property list editor in Xcode.
To help users understand why your app is requesting access to their personal data, all permission request alerts in your app should specify how your app will use the requested feature.
You get this message since you have an app that needs to use the phone's camera (and as such the app will be requesting the users' consent to access it) without clarifying explicitly the use of the camera in the applicable purpose string.
This request is usually as follows:
- Partner/Reseller Account
- Log onto the CMS Partner Dashboard
- Navigate to My Client's View -> Translations -> Mobile Apps and search for the string "nscamera"
- Set a short and meaningful description under the Translation field about the use of the camera.
Important: This will apply to all your clients' apps that make use of the camera. Thus the description has to be as generic as possible. Bear in mind that all permission request alerts in your app should specify how your app will use the requested feature (For instance: Camera access to scan Loyalty QR code).
- Republish the app
Apple will review your app again and will probably not reject it due to the 5.1.1 guideline, as the request for access to the app user's camera will have been properly justified. Thus, unless there's some other rejection reason, your iOS app will be approved and published on the Apple Store.