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 and/or calendar. The error message is similar to:
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
We noticed that your app requests the user’s consent to access their camera (and/or calendar) but does not clarify the use of the camera (and/or calendar) 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 (and/or calendar). 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.
This guideline error appears because your app needs to use the phone's camera and/or calendar (and as such it will be requesting the users' consent to access it) without clarifying explicitly the use of that feature in the applicable purpose string.
The request shown to the user, with the text you will add to clarify the usage, looks as follows:
- You have a Partner/Reseller Account
- Log onto the CMS Partner Dashboard
- Navigate to My Client's View -> Translations -> Mobile Apps and search for the string "nscamera" for the camera usage or for "nscalendars" for calendar usage.
- Set a short and meaningful description under the Translation field about the use of the camera or the calendar.
Important: This will apply to all your clients' apps that make use of the corresponding feature. 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 or Calendar access to create reminders for subscribed events).
- 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 or calendar 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.